summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--src/df.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2ac58ffe1..59cf6c892 100644
--- 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
diff --git a/src/df.c b/src/df.c
index b69836505..45fcad854 100644
--- 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