]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(dest_info_init, src_info_init, copy): Add `extern' keyword.
authorJim Meyering <jim@meyering.net>
Tue, 27 Apr 2004 15:01:31 +0000 (15:01 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 27 Apr 2004 15:01:31 +0000 (15:01 +0000)
src/copy.c

index 7f52766d1bd6ffbc792e8b39a44810c1f7ae010d..395803d9dcffa73e2267f446b491b6f275ffd645 100644 (file)
@@ -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)