]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Remove declaration of yesno.
authorJim Meyering <jim@meyering.net>
Sun, 20 Jun 2004 13:47:24 +0000 (13:47 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 20 Jun 2004 13:47:24 +0000 (13:47 +0000)
Instead, include yesno.h.

src/copy.c
src/ln.c

index 75aa6668e056dc4225d12bd7845e05df3bf66662..bf17e0617093a668bbf91ca57ac4e6b06540aa19 100644 (file)
@@ -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,
index a1f3b285c2607bc5ae4f55197f0e1caa6db940c0..48a1fafb6e0edc403372622660d83a36ff20ab60 100644 (file)
--- 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;