1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Fix build on -CURRENT (conflicting prototype)

PR:		ports/59684
Submitted by:	Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Approved by:	marcus (portmgr)
Approved by:	adamw (mentor)
This commit is contained in:
Pav Lucistnik 2003-11-28 01:02:59 +00:00
parent 660205cc0e
commit 96b35a6933
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94813

View File

@ -0,0 +1,10 @@
--- whois.c.orig Tue Nov 25 15:41:34 2003
+++ whois.c Tue Nov 25 15:43:57 2003
@@ -88,7 +88,6 @@
extern int getopt(int argc, char * const *argv, const char *optstring);
extern int kill(pid_t pid, int sig);
extern FILE *fdopen(int fildes, const char *type);
-extern int gethostname(char *name, int namelen);
#else /* !__STDC__ */
extern int gethostname();
#endif /* __STDC__ */