summaryrefslogtreecommitdiff
path: root/editors/xwpe/patches/patch-we__prog.c
blob: 42f753db42169a0043ca444e962ff65f8787727e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-we__prog.c,v 1.1 2022/12/08 10:31:08 vins Exp $

Fix implicit declaration warnings.

--- we_prog.c.orig	2005-07-07 01:53:09.000000000 +0000
+++ we_prog.c
@@ -8,6 +8,13 @@
 #include "edit.h"
 #include "WeExpArr.h"
 
+#ifndef __WE_PROG_H
+#define __WE_PROG_H
+
+int print_to_end_of_buffer(BUFFER *b, char *str, int wrap_limit);
+
+#endif
+
 #ifdef PROG
 
 #include <time.h>