summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-05-31 07:06:23 +0000
committerJim Meyering <jim@meyering.net>2005-05-31 07:06:23 +0000
commit55076fb51f83c272f132b82d51e4a1c3f5f6b1c2 (patch)
treea0ab52b4c87822fc14844d070c2c7589dbb4b852 /src
parentf707eb199ef9a0529fe850bb1b8c3c1bc5c13b21 (diff)
downloadcoreutils-55076fb51f83c272f132b82d51e4a1c3f5f6b1c2.tar.xz
(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.
Diffstat (limited to 'src')
-rw-r--r--src/copy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/copy.c b/src/copy.c
index c91557e3b..ada111e3a 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.