summaryrefslogtreecommitdiff
path: root/net/ripetools/files/patch-whois.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ripetools/files/patch-whois.c')
-rw-r--r--net/ripetools/files/patch-whois.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/ripetools/files/patch-whois.c b/net/ripetools/files/patch-whois.c
new file mode 100644
index 000000000000..c3e022803f8c
--- /dev/null
+++ b/net/ripetools/files/patch-whois.c
@@ -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__ */