From: Jim Meyering Date: Tue, 31 May 2005 07:06:23 +0000 (+0000) Subject: (chown_privileges, chown_failure_ok): Mark as `extern'. X-Git-Tag: CPPI-1_12~687 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=55076fb51f83c272f132b82d51e4a1c3f5f6b1c2;p=thirdparty%2Fcoreutils.git (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. --- diff --git a/src/copy.c b/src/copy.c index c91557e3b8..ada111e3a8 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.