summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-12-01 17:04:30 +0100
committerJim Meyering <meyering@redhat.com>2007-12-01 17:04:52 +0100
commit0d9438bb873eed9367bba32a310f825da1d84a06 (patch)
treead1a1b79dd4ea7e5a3c10e70914f623daf04a609 /src
parent9fed2e35c09dc9a19629369f4994c65bc1c94926 (diff)
downloadcoreutils-0d9438bb873eed9367bba32a310f825da1d84a06.tar.xz
Add "extern" keyword to declaration of cp_options_default.
* src/copy.c (cp_options_default): Mark as "extern", so the "sc_tight_scope" part of "make distcheck" passes.
Diffstat (limited to 'src')
-rw-r--r--src/copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/copy.c b/src/copy.c
index 1e803ec2d..b85a514c2 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -2095,7 +2095,7 @@ copy (char const *src_name, char const *dst_name,
/* Set *X to the default options for a value of type struct cp_options. */
-void
+extern void
cp_options_default (struct cp_options *x)
{
memset (x, 0, sizeof *x);