diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/date.c | 4 | ||||
-rw-r--r-- | src/ls.c | 3 | ||||
-rw-r--r-- | src/stat.c | 4 |
3 files changed, 3 insertions, 8 deletions
diff --git a/src/date.c b/src/date.c index aa207464c..52cf71a18 100644 --- a/src/date.c +++ b/src/date.c @@ -33,6 +33,7 @@ #include "getline.h" #include "posixtm.h" #include "posixver.h" +#include "strftime.h" #include "timespec.h" /* The official name of this program (e.g., no `g' prefix). */ @@ -42,9 +43,6 @@ int putenv (); -size_t nstrftime PARAMS ((char *, size_t, char const *, - struct tm const *, int, int)); - static void show_date PARAMS ((const char *format, struct timespec when)); enum Time_spec @@ -118,6 +118,7 @@ int wcwidth (); #include "quote.h" #include "quotearg.h" #include "same.h" +#include "strftime.h" #include "strverscmp.h" #include "xstrtol.h" #include "xreadlink.h" @@ -249,8 +250,6 @@ struct bin_str time_t time (); #endif -size_t nstrftime PARAMS ((char *, size_t, char const *, - struct tm const *, int, int)); char *getgroup (); char *getuser (); diff --git a/src/stat.c b/src/stat.c index 2204eb918..e4f9dd514 100644 --- a/src/stat.c +++ b/src/stat.c @@ -52,6 +52,7 @@ #include "getopt.h" #include "quote.h" #include "quotearg.h" +#include "strftime.h" #include "xreadlink.h" #define NAMEMAX_FORMAT PRIuMAX @@ -77,9 +78,6 @@ # define NAMEMAX_FORMAT "s" #endif -size_t nstrftime PARAMS ((char *, size_t, char const *, - struct tm const *, int, int)); - #define PROGRAM_NAME "stat" #define AUTHORS "Michael Meskes" |