mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
* Fix for 'warning: function declaration isn't a prototype' warnings
* Properly symlink during install PR: 16757 Submitted by: Maintainer
This commit is contained in:
parent
14afa1d692
commit
43a669e9bc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25973
1 changed files with 16 additions and 0 deletions
16
textproc/diffstat/files/patch-ad
Normal file
16
textproc/diffstat/files/patch-ad
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue