summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-12-15 20:45:36 +0000
committerJim Meyering <jim@meyering.net>2002-12-15 20:45:36 +0000
commiteb4832a29c76364ade60a6de840bde2d95c791d4 (patch)
tree8f5f1c93b661b84c4a7c28e4689742d6ac550a89 /src
parent576dca29093151ea439f5389380b0b6a630b6e8c (diff)
downloadcoreutils-eb4832a29c76364ade60a6de840bde2d95c791d4.tar.xz
Remove declaration of nstrftime.
Include strftime.h instead.
Diffstat (limited to 'src')
-rw-r--r--src/date.c4
-rw-r--r--src/ls.c3
-rw-r--r--src/stat.c4
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
diff --git a/src/ls.c b/src/ls.c
index 8092f65c6..402b239ec 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 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"