(chown_privileges, chown_failure_ok): Mark as `extern'.
authorJim Meyering <jim@meyering.net>
Tue, 31 May 2005 07:06:23 +0000 (07:06 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 31 May 2005 07:06:23 +0000 (07:06 +0000)
This is a crutch so that `make distcheck's sc_tight_scope rule
knows that they really are deliberately declared that way.

src/copy.c

index c91557e..ada111e 100644 (file)
@@ -1703,7 +1703,7 @@ copy (const char *src_path, const char *dst_path,
 /* Return true if this process has appropriate privileges to chown a
    file whose owner is not the effective user ID.  */
 
-bool
+extern bool
 chown_privileges (void)
 {
 #ifdef PRIV_FILE_CHOWN
@@ -1724,7 +1724,7 @@ chown_privileges (void)
    the error number that chown failed with and X is the copying
    option set.  */
 
-bool
+extern bool
 chown_failure_ok (struct cp_options const *x)
 {
   /* If non-root uses -p, it's ok if we can't preserve ownership.