Remove definition of basename.
authorGlenn L McGrath <bug1@ihug.co.nz>
Mon, 18 Sep 2000 10:20:16 +0000 (10:20 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Mon, 18 Sep 2000 10:20:16 +0000 (10:20 -0000)
It was defined out so that it would never be seen, and if it was ever seen it wasnt used for anything. It also stops gunzip compiling under the Hurd.

archival/gunzip.c
gunzip.c

index e31a0f7..b27ebed 100644 (file)
@@ -364,9 +364,6 @@ extern void flush_outbuf (void);
 static void flush_window (void);
 extern void write_buf (int fd, void * buf, unsigned cnt);
 
-#ifndef __linux__
-static char *basename (char *fname);
-#endif                                                 /* not __linux__ */
 void read_error_msg (void);
 void write_error_msg (void);
 
index e31a0f7..b27ebed 100644 (file)
--- a/gunzip.c
+++ b/gunzip.c
@@ -364,9 +364,6 @@ extern void flush_outbuf (void);
 static void flush_window (void);
 extern void write_buf (int fd, void * buf, unsigned cnt);
 
-#ifndef __linux__
-static char *basename (char *fname);
-#endif                                                 /* not __linux__ */
 void read_error_msg (void);
 void write_error_msg (void);