From 55076fb51f83c272f132b82d51e4a1c3f5f6b1c2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 31 May 2005 07:06:23 +0000 Subject: [PATCH] (chown_privileges, chown_failure_ok): Mark as `extern'. 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/copy.c b/src/copy.c index c91557e..ada111e 100644 --- a/src/copy.c +++ b/src/copy.c @@ -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. -- 2.7.4