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.
This commit is contained in:
parent
38c8551cf2
commit
fd3741d712
@ -364,9 +364,6 @@ extern void flush_outbuf (void);
|
|||||||
static void flush_window (void);
|
static void flush_window (void);
|
||||||
extern void write_buf (int fd, void * buf, unsigned cnt);
|
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 read_error_msg (void);
|
||||||
void write_error_msg (void);
|
void write_error_msg (void);
|
||||||
|
|
||||||
|
3
gunzip.c
3
gunzip.c
@ -364,9 +364,6 @@ extern void flush_outbuf (void);
|
|||||||
static void flush_window (void);
|
static void flush_window (void);
|
||||||
extern void write_buf (int fd, void * buf, unsigned cnt);
|
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 read_error_msg (void);
|
||||||
void write_error_msg (void);
|
void write_error_msg (void);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user