1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/x11/bricons/files/patch-ad
Kris Kennaway d3ad7f727e Don't try and guess prototypes, that's what system headers are for.
This port is still broken on -current.
2002-08-24 00:16:50 +00:00

23 lines
488 B
Plaintext

--- gen.h.orig Fri Aug 23 17:09:23 2002
+++ gen.h Fri Aug 23 17:10:23 2002
@@ -12,6 +12,8 @@
#include <X11/Shell.h>
#include <X11/Xaw/Cardinals.h>
#include <stdlib.h>
+#include <string.h>
+#include <stdio.h>
/* #include <malloc.h> */
#include <ctype.h>
#include <unistd.h>
@@ -75,10 +77,6 @@
}ChildInfo;
ChildInfo ci_ptr[MAXPROCS];
-
-/* forward declarations */
-int fprintf(), ungetc(), fclose(), fscanf();
-char *strcpy(), *getenv(), *malloc();
typedef int bool_t;