diff options
author | Jim Meyering <meyering@redhat.com> | 2007-12-01 17:04:30 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2007-12-01 17:04:52 +0100 |
commit | 0d9438bb873eed9367bba32a310f825da1d84a06 (patch) | |
tree | ad1a1b79dd4ea7e5a3c10e70914f623daf04a609 | |
parent | 9fed2e35c09dc9a19629369f4994c65bc1c94926 (diff) | |
download | coreutils-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.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/copy.c | 2 |
2 files changed, 8 insertions, 2 deletions
@@ -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. 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); |