aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2000-09-18 10:20:16 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2000-09-18 10:20:16 +0000
commitfd3741d712bd8050eb8ef650cb453beb0fac4afe (patch)
treed617662146222ee6a3e91633172c4f27093a9330
parent38c8551cf23b1740c7573e14466993af3f3cb775 (diff)
downloadbusybox-w32-fd3741d712bd8050eb8ef650cb453beb0fac4afe.tar.gz
busybox-w32-fd3741d712bd8050eb8ef650cb453beb0fac4afe.tar.bz2
busybox-w32-fd3741d712bd8050eb8ef650cb453beb0fac4afe.zip
Remove definition of basename.
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.
-rw-r--r--archival/gunzip.c3
-rw-r--r--gunzip.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/archival/gunzip.c b/archival/gunzip.c
index e31a0f7fb..b27ebeda8 100644
--- a/archival/gunzip.c
+++ b/archival/gunzip.c
@@ -364,9 +364,6 @@ extern void flush_outbuf (void);
364static void flush_window (void); 364static void flush_window (void);
365extern void write_buf (int fd, void * buf, unsigned cnt); 365extern void write_buf (int fd, void * buf, unsigned cnt);
366 366
367#ifndef __linux__
368static char *basename (char *fname);
369#endif /* not __linux__ */
370void read_error_msg (void); 367void read_error_msg (void);
371void write_error_msg (void); 368void write_error_msg (void);
372 369
diff --git a/gunzip.c b/gunzip.c
index e31a0f7fb..b27ebeda8 100644
--- a/gunzip.c
+++ b/gunzip.c
@@ -364,9 +364,6 @@ extern void flush_outbuf (void);
364static void flush_window (void); 364static void flush_window (void);
365extern void write_buf (int fd, void * buf, unsigned cnt); 365extern void write_buf (int fd, void * buf, unsigned cnt);
366 366
367#ifndef __linux__
368static char *basename (char *fname);
369#endif /* not __linux__ */
370void read_error_msg (void); 367void read_error_msg (void);
371void write_error_msg (void); 368void write_error_msg (void);
372 369