diff options
author | Jim Meyering <jim@meyering.net> | 1997-10-04 01:57:12 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-10-04 01:57:12 +0000 |
commit | 03ae2c6b977ba0e4f5e017ffdde612c9b569e0de (patch) | |
tree | ca3eb1c51c591589826782ad386ccdaa2a5221d9 /src | |
parent | 3445d47a10e2cea33895081123d68ce4e34fe3de (diff) | |
download | coreutils-03ae2c6b977ba0e4f5e017ffdde612c9b569e0de.tar.xz |
Remove old-style savedir dcl.
Include savedir.h for prototype.
Diffstat (limited to 'src')
-rw-r--r-- | src/chown.c | 2 | ||||
-rw-r--r-- | src/copy.c | 2 | ||||
-rw-r--r-- | src/du.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/chown.c b/src/chown.c index 253e4cd12..0c19db205 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 bf860c703..fd6191f52 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 (); @@ -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 (); |