freebsd-ports/textproc/agrep/files/patch-follow.c
Christian Weisgerber 8d5699d7ad * Honor CFLAGS.
* Include proper prototypes; fixes dire warnings on alpha.
2002-07-21 01:56:56 +00:00

23 lines
408 B
C

$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();