From 68c7c2d2fa203a379945cb4201d4d0657e06c029 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 27 Apr 2004 15:01:31 +0000 Subject: (dest_info_init, src_info_init, copy): Add `extern' keyword. --- src/copy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/copy.c') diff --git a/src/copy.c b/src/copy.c index 7f52766d1..395803d9d 100644 --- a/src/copy.c +++ b/src/copy.c @@ -698,7 +698,7 @@ triple_free (void *x) /* Initialize the hash table implementing a set of F_triple entries corresponding to destination files. */ -void +extern void dest_info_init (struct cp_options *x) { x->dest_info @@ -711,7 +711,7 @@ dest_info_init (struct cp_options *x) /* Initialize the hash table implementing a set of F_triple entries corresponding to source files listed on the command line. */ -void +extern void src_info_init (struct cp_options *x) { @@ -1667,7 +1667,7 @@ valid_options (const struct cp_options *co) same as) DST_PATH; otherwise, set it to zero. Return 0 if successful, 1 if an error occurs. */ -int +extern int copy (const char *src_path, const char *dst_path, int nonexistent_dst, const struct cp_options *options, int *copy_into_self, int *rename_succeeded) -- cgit v1.2.3-54-g00ecf