openbsd-ports/textproc/agrep/patches/patch-follow_c
naddy 964afbf742 - honor CC
- include proper prototypes; silences warnings on 64-bit archs
2002-07-21 01:48:42 +00:00

21 lines
459 B
Plaintext

$OpenBSD: patch-follow_c,v 1.1 2002/07/21 01:48:42 naddy Exp $
--- follow.c.orig Sun Jul 21 03:32:22 2002
+++ follow.c Sun Jul 21 03:33:14 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();