]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* src/df.c (n_valid_args): Declare global to be static.
authorJim Meyering <jim@meyering.net>
Tue, 25 Jul 2006 14:06:21 +0000 (14:06 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 25 Jul 2006 14:06:21 +0000 (14:06 +0000)
ChangeLog
src/df.c

index 2ac58ffe190ccea99461a3bda61623af9e75f625..59cf6c89224e1953a2e673390b7d4466754bd0b7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-07-25  Jim Meyering  <jim@meyering.net>
+
+       * src/df.c (n_valid_args): Declare global to be static.
+
 2006-07-24  Jim Meyering  <jim@meyering.net>
 
        * tests/ls/stat-dtype: Skip this test on reiserfs, since that file
index b6983650506d5c4730f89772946048ee6e832f14..45fcad85497b2b5bab0c9e1fd6764a320bbb8b06 100644 (file)
--- a/src/df.c
+++ b/src/df.c
@@ -69,7 +69,7 @@ static uintmax_t output_block_size;
 static bool posix_format;
 
 /* Count the number of valid arguments.  */
-unsigned int n_valid_args;
+static unsigned int n_valid_args;
 
 /* If true, invoke the `sync' system call before getting any usage data.
    Using this option can make df very slow, especially with many or very