From: Jim Meyering Date: Sat, 1 Dec 2007 16:04:30 +0000 (+0100) Subject: Add "extern" keyword to declaration of cp_options_default. X-Git-Tag: v6.9.90~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d9438bb873eed9367bba32a310f825da1d84a06;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/ChangeLog b/ChangeLog index 66034cb56e..518185bff1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,10 @@ -2007-12-01 Jim Meyering +2007-12-01 Jim Meyering + + 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 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 1e803ec2df..b85a514c29 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);