From: Jim Meyering Date: Sun, 15 Dec 2002 20:45:36 +0000 (+0000) Subject: Remove declaration of nstrftime. X-Git-Tag: v4.5.5~397 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb4832a29c76364ade60a6de840bde2d95c791d4;p=thirdparty%2Fcoreutils.git Remove declaration of nstrftime. Include strftime.h instead. --- diff --git a/src/date.c b/src/date.c index aa207464c1..52cf71a182 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 diff --git a/src/ls.c b/src/ls.c index 8092f65c6e..402b239ec3 100644 --- a/src/ls.c +++ b/src/ls.c @@ -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 2204eb9181..e4f9dd514e 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"