1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Don't try and guess prototypes, that's what system headers are for.

This port is still broken on -current.
This commit is contained in:
Kris Kennaway 2002-08-24 00:16:50 +00:00
parent f6af7f6221
commit d3ad7f727e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64932

View File

@ -0,0 +1,22 @@
--- 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;