From 2e754316fae8f4be3459d89f486e0e2b09dceb42 Mon Sep 17 00:00:00 2001 From: bug1 Date: Mon, 18 Sep 2000 10:20:16 +0000 Subject: 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. git-svn-id: svn://busybox.net/trunk/busybox@1065 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- archival/gunzip.c | 3 --- gunzip.c | 3 --- 2 files changed, 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); 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); 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); 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); -- cgit v1.2.3-55-g6feb