From 0d9438bb873eed9367bba32a310f825da1d84a06 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 1 Dec 2007 17:04:30 +0100 Subject: 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. --- ChangeLog | 8 +++++++- src/copy.c | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 66034cb56..518185bff 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 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); -- cgit v1.2.3-70-g09d2