From: Jim Meyering Date: Sat, 4 Oct 1997 01:57:12 +0000 (+0000) Subject: Remove old-style savedir dcl. X-Git-Tag: TEXTUTILS-1_22c~309 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=03ae2c6b977ba0e4f5e017ffdde612c9b569e0de;p=thirdparty%2Fcoreutils.git Remove old-style savedir dcl. Include savedir.h for prototype. --- diff --git a/src/chown.c b/src/chown.c index 253e4cd12a..0c19db2052 100644 --- a/src/chown.c +++ b/src/chown.c @@ -37,6 +37,7 @@ #include "system.h" #include "error.h" +#include "savedir.h" #ifndef _POSIX_VERSION struct passwd *getpwnam (); @@ -54,7 +55,6 @@ struct group *getgrgid (); # define LCHOWN(FILE, OWNER, GROUP) 1 #endif -char *savedir (); char *parse_user_spec (); void strip_trailing_slashes (); char *xmalloc (); diff --git a/src/copy.c b/src/copy.c index bf860c7039..fd6191f527 100644 --- a/src/copy.c +++ b/src/copy.c @@ -10,6 +10,7 @@ #include "system.h" #include "error.h" #include "backupfile.h" +#include "savedir.h" #include "copy.h" #include "cp-hash.h" @@ -35,7 +36,6 @@ struct dir_list int full_write (); int euidaccess (); -char *savedir (); char *stpcpy (); char *xmalloc (); int yesno (); diff --git a/src/du.c b/src/du.c index 538201cb19..0b2d5fe574 100644 --- a/src/du.c +++ b/src/du.c @@ -50,6 +50,7 @@ #include "save-cwd.h" #include "error.h" #include "xstrtol.h" +#include "savedir.h" /* Initial number of entries in each hash table entry's table of inodes. */ #define INITIAL_HASH_MODULE 100 @@ -99,7 +100,6 @@ typedef struct int stat (); int lstat (); -char *savedir (); char *xmalloc (); char *xrealloc ();