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

17 lines
426 B
Plaintext

$OpenBSD: patch-agrep_h,v 1.1 2002/07/21 01:48:42 naddy Exp $
--- agrep.h.orig Fri Jan 17 20:15:13 1992
+++ agrep.h Sun Jul 21 03:40:26 2002
@@ -1,10 +1,10 @@
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <math.h>
#include <ctype.h>
#include "re.h"
-extern unsigned char *strcpy(), *strncpy(), *strcat();
-extern int strlen();
#define CHAR unsigned char
#define MAXPAT 128
#define MAXPATT 256