summaryrefslogtreecommitdiff
path: root/src/copy.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-06-20 13:47:24 +0000
committerJim Meyering <jim@meyering.net>2004-06-20 13:47:24 +0000
commitfb2a3c8a637aeb990a4935e260c5e18c5c1aba5b (patch)
tree05a574522497c8ab882e1e4c00790f4f6042c70b /src/copy.c
parent6c97ac18efa795d0a023521acf4f170fa097e72e (diff)
downloadcoreutils-fb2a3c8a637aeb990a4935e260c5e18c5c1aba5b.tar.xz
Remove declaration of yesno.
Instead, include yesno.h.
Diffstat (limited to 'src/copy.c')
-rw-r--r--src/copy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/copy.c b/src/copy.c
index 75aa6668e..bf17e0617 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,