From: Jim Meyering Date: Sun, 20 Jun 2004 13:47:24 +0000 (+0000) Subject: Remove declaration of yesno. X-Git-Tag: v5.3.0~1294 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fb2a3c8a637aeb990a4935e260c5e18c5c1aba5b;p=thirdparty%2Fcoreutils.git Remove declaration of yesno. Instead, include yesno.h. --- diff --git a/src/copy.c b/src/copy.c index 75aa6668e0..bf17e06170 100644 --- a/src/copy.c +++ b/src/copy.c @@ -44,6 +44,7 @@ #include "utimecmp.h" #include "utimens.h" #include "xreadlink.h" +#include "yesno.h" #define DO_CHOWN(Chown, File, New_uid, New_gid) \ (Chown (File, New_uid, New_gid) \ @@ -79,8 +80,6 @@ struct F_triple /* Initial size of the above hash table. */ #define DEST_INFO_INITIAL_CAPACITY 61 -int yesno (); - static int copy_internal (const char *src_path, const char *dst_path, int new_dst, dev_t device, struct dir_list *ancestors, diff --git a/src/ln.c b/src/ln.c index a1f3b285c2..48a1fafb6e 100644 --- a/src/ln.c +++ b/src/ln.c @@ -28,6 +28,7 @@ #include "dirname.h" #include "error.h" #include "quote.h" +#include "yesno.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "ln" @@ -87,7 +88,6 @@ int symlink (); while (0) int isdir (); -int yesno (); /* The name by which the program was run, for error messages. */ char *program_name;