summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2000-02-18 04:12:57 +0000
committerjedgar <jedgar@FreeBSD.org>2000-02-18 04:12:57 +0000
commit5cfe997535af91b28e785f6c320114a92fc0256c (patch)
treef00ee1feb446a514534028a3398e3382b51d3591 /textproc
parenta0e9e331072a1e9635bf7d58530efc2fbcf154ae (diff)
downloadFreeBSD-ports-5cfe997535af91b28e785f6c320114a92fc0256c.zip
FreeBSD-ports-5cfe997535af91b28e785f6c320114a92fc0256c.tar.gz
* Fix for 'warning: function declaration isn't a prototype' warnings
* Properly symlink during install PR: 16757 Submitted by: Maintainer
Diffstat (limited to 'textproc')
-rw-r--r--textproc/diffstat/files/patch-ad16
1 files changed, 16 insertions, 0 deletions
diff --git a/textproc/diffstat/files/patch-ad b/textproc/diffstat/files/patch-ad
new file mode 100644
index 0000000..699ca11
--- /dev/null
+++ b/textproc/diffstat/files/patch-ad
@@ -0,0 +1,16 @@
+--- 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
OpenPOWER on IntegriCloud