summaryrefslogtreecommitdiff
path: root/textproc/agrep/files/patch-follow.c
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-07-21 01:56:56 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-07-21 01:56:56 +0000
commit8d5699d7adf485d848ec5b5d50459db383e0a125 (patch)
treeb26dc1c2878c0975b8b9137ca697e167658b3529 /textproc/agrep/files/patch-follow.c
parent(1) Remove implicit dependency on devel/gdbm. (diff)
* Honor CFLAGS.
* Include proper prototypes; fixes dire warnings on alpha.
Notes
Notes: svn path=/head/; revision=63295
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();