summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-08-21 16:06:06 +0000
committerJim Meyering <jim@meyering.net>2005-08-21 16:06:06 +0000
commit3d540878ff0ea4632265e4c6a6711fe8635a5cb4 (patch)
treeab7375d0dd715f3b553a4a98c96180b7e3553009 /src
parentff2fecfbe998d6586d5a4846ee39be0c4c8f1569 (diff)
downloadcoreutils-3d540878ff0ea4632265e4c6a6711fe8635a5cb4.tar.xz
(time_style): Add `const' attribute.
(tot_dui): Remove unnecessary (and too-short) initializer list.
Diffstat (limited to 'src')
-rw-r--r--src/du.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/du.c b/src/du.c
index 94410bbee..df5088e30 100644
--- a/src/du.c
+++ b/src/du.c
@@ -176,7 +176,7 @@ enum time_type
static enum time_type time_type = time_mtime;
/* User specified date / time style */
-static char *time_style = NULL;
+static char const *time_style = NULL;
/* Format used to display date / time. Controlled by --time-style */
static char const *time_format = NULL;
@@ -188,7 +188,7 @@ static uintmax_t output_block_size;
static struct exclude *exclude;
/* Grand total size of all args, in bytes. Also latest modified date. */
-static struct duinfo tot_dui = { 0, 0 };
+static struct duinfo tot_dui;
#define IS_DIR_TYPE(Type) \
((Type) == FTS_DP \