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.
This commit is contained in:
Jim Meyering committed 2007-12-01 17:04:52 +01:00
1 parent 9fed2e35c0
commit 0d9438bb87
2 files changed
+8 -2

No files matched your search

+7 -1
View File
@@ -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.
+1 -1
View 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);