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

22 lines
488 B
Text

--- 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;