blob: df120eae5d6d56c38bf0c9f6c89a8ad96370b431 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
$NetBSD: patch-ab,v 1.3 2022/12/08 10:31:08 vins Exp $
* Depend on [n]curses to provide prototypes for tparm and tgoto.
* Fix implicit declaration warnings.
--- we_debug.c.orig 2005-07-07 01:53:09.000000000 +0000
+++ we_debug.c
@@ -7,6 +7,13 @@
#include "messages.h"
#include "edit.h"
+#ifndef __WE_PROG_H
+#define __WE_PROG_H
+
+int print_to_end_of_buffer(BUFFER *b, char *str, int wrap_limit);
+
+#endif
+
#ifndef NO_XWINDOWS
#include "WeXterm.h"
#endif
@@ -62,10 +69,6 @@ extern BUFFER *e_p_w_buffer;
extern char *att_no;
extern char *e_tmp_dir;
-#ifdef NOTPARM
-char *tparm();
-char *tgoto();
-#endif
#ifdef DEFTPUTS
int tputs();
#endif
|