summaryrefslogtreecommitdiff
path: root/src/copy.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-04-27 15:01:31 +0000
committerJim Meyering <jim@meyering.net>2004-04-27 15:01:31 +0000
commit68c7c2d2fa203a379945cb4201d4d0657e06c029 (patch)
treebcbbf83e85f260ab198074379f6bec7df1c53670 /src/copy.c
parent03f9a376a413ed230a801ad2d4ef9cea940c6640 (diff)
downloadcoreutils-68c7c2d2fa203a379945cb4201d4d0657e06c029.tar.xz
(dest_info_init, src_info_init, copy): Add `extern' keyword.
Diffstat (limited to 'src/copy.c')
-rw-r--r--src/copy.c6
1 files changed, 3 insertions, 3 deletions
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)