]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Remove declaration of nstrftime.
authorJim Meyering <jim@meyering.net>
Sun, 15 Dec 2002 20:45:36 +0000 (20:45 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 15 Dec 2002 20:45:36 +0000 (20:45 +0000)
Include strftime.h instead.

src/date.c
src/ls.c
src/stat.c

index aa207464c1a90380b4291a69886c8dc06828a96d..52cf71a182ebe5989ed0658f9b9c98b2df085d1d 100644 (file)
@@ -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
index 8092f65c6eaccf45b20b1fe37925e762fe06bb76..402b239ec3db36e9694d0b95db2dae1fa5fdc84e 100644 (file)
--- 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 ();
 
index 2204eb91818f5e2b29092ccda1d7199ef8e514be..e4f9dd514eb2d54c3e5968884888ce2f6c08b167 100644 (file)
@@ -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"