]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Add "extern" keyword to declaration of cp_options_default.
authorJim Meyering <meyering@redhat.com>
Sat, 1 Dec 2007 16:04:30 +0000 (17:04 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 1 Dec 2007 16:04:52 +0000 (17:04 +0100)
* src/copy.c (cp_options_default): Mark as "extern", so the
"sc_tight_scope" part of "make distcheck" passes.

ChangeLog
src/copy.c

index 66034cb56ec20a8813f4654f8d7c37ecba875ac8..518185bff133af3e7a5397423b234633b9308934 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
-2007-12-01  Jim Meyering  <meyering@rho.meyering.net>
+2007-12-01  Jim Meyering  <meyering@redhat.com>
+
+       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.
+
+2007-12-01  Jim Meyering  <meyering@redhat.com>
 
        Change comments: say bug present up to coreutils-6.9, not fixed in 6.10.
        * tests/cut/Test.pm: Adjust comment.
index 1e803ec2dff873fdfa4f0e9f655e9f1e57e1c6b6..b85a514c29c6a25cc172df5a42659489d71b6d05 100644 (file)
@@ -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);