ports/textproc/diffstat/files/patch-ad
Chris D. Faulhaber 43a669e9bc * Fix for 'warning: function declaration isn't a prototype' warnings
* Properly symlink during install

PR:		16757
Submitted by:	Maintainer
2000-02-18 04:12:57 +00:00

16 lines
305 B
Text

--- diffstat.c.orig Sun May 17 05:07:38 1998
+++ diffstat.c Wed Feb 16 11:20:00 2000
@@ -83,13 +83,11 @@
#if HAVE_MALLOC_H
#include <malloc.h>
#else
-extern char *malloc();
#endif
#if HAVE_GETOPT_H
#include <getopt.h>
#else
-extern int getopt();
extern char *optarg;
extern int optind;
#endif