(time_format): Add `const' attribute.
authorJim Meyering <jim@meyering.net>
Thu, 23 Jun 2005 15:27:55 +0000 (15:27 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 23 Jun 2005 15:27:55 +0000 (15:27 +0000)
src/du.c

index 44dfdc387f557cec1b388e2d6bd2e12876afc13d..932b9716a597d1c897eb0f68d84c765d393f1031 100644 (file)
--- a/src/du.c
+++ b/src/du.c
@@ -168,7 +168,7 @@ static enum time_type time_type = time_mtime;
 static char *time_style = NULL;
 
 /* Format used to display date / time. Controlled by --time-style */
-static char *time_format = NULL;
+static char const *time_format = NULL;
 
 /* The units to use when printing sizes.  */
 static uintmax_t output_block_size;