From 03ae2c6b977ba0e4f5e017ffdde612c9b569e0de Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 4 Oct 1997 01:57:12 +0000 Subject: Remove old-style savedir dcl. Include savedir.h for prototype. --- src/chown.c | 2 +- src/copy.c | 2 +- src/du.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 (); diff --git a/src/du.c b/src/du.c index 538201cb1..0b2d5fe57 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 (); -- cgit v1.2.3-70-g09d2