summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-11-12 11:02:50 +0100
committerJim Meyering <meyering@redhat.com>2008-11-30 19:14:29 +0100
commit57e2022b8d4fa6a2fbb420447705701535e58b0d (patch)
tree55fd2c2bb5371f6727628f5ea7258a425dc8b431
parentbe6b4218e47e27c591f589f27f543079d7930dce (diff)
downloadcoreutils-57e2022b8d4fa6a2fbb420447705701535e58b0d.tar.xz
remove explicit declaration of putenv, ...
* src/date.c: ... now that gnulib guarantees that it's in <stdlib.h>. * src/env.c: Likewise.
-rw-r--r--src/date.c2
-rw-r--r--src/env.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/date.c b/src/date.c
index e94de6013..43e20057c 100644
--- a/src/date.c
+++ b/src/date.c
@@ -38,8 +38,6 @@
#define AUTHORS proper_name ("David MacKenzie")
-int putenv ();
-
static bool show_date (const char *format, struct timespec when);
enum Time_spec
diff --git a/src/env.c b/src/env.c
index 97bec71d4..fb9d7932d 100644
--- a/src/env.c
+++ b/src/env.c
@@ -91,8 +91,6 @@
proper_name ("Richard Mlynarik"), \
proper_name ("David MacKenzie")
-int putenv ();
-
extern char **environ;
static struct option const longopts[] =