summaryrefslogtreecommitdiff
path: root/textproc/agrep/files/patch-follow.c
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/agrep/files/patch-follow.c')
-rw-r--r--textproc/agrep/files/patch-follow.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/textproc/agrep/files/patch-follow.c b/textproc/agrep/files/patch-follow.c
new file mode 100644
index 000000000000..5bdf13a7714c
--- /dev/null
+++ b/textproc/agrep/files/patch-follow.c
@@ -0,0 +1,22 @@
+
+$FreeBSD$
+
+--- follow.c.orig Fri Jan 17 20:14:42 1992
++++ follow.c Sun Jul 21 03:50:47 2002
+@@ -3,14 +3,12 @@
+ construction. */
+
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ #include "re.h"
+
+-extern char *strncpy(), *strcat(), *strcpy();
+-extern int strlen();
+-
+ #define TRUE 1
+
+-extern char *malloc();
+ extern Pset pset_union();
+ extern int pos_cnt;
+ extern Re_node parse();