]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
remove explicit declaration of putenv, ...
authorJim Meyering <meyering@redhat.com>
Wed, 12 Nov 2008 10:02:50 +0000 (11:02 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 30 Nov 2008 18:14:29 +0000 (19:14 +0100)
* src/date.c: ... now that gnulib guarantees that it's in <stdlib.h>.
* src/env.c: Likewise.

src/date.c
src/env.c

index e94de6013730e9662266bba905f61fcc3da86e44..43e20057c6f952bd0f6471192109c1d8d6ecf1b7 100644 (file)
@@ -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
index 97bec71d422fae7bbfa7117bbb941c4f1c0b1673..fb9d7932d4499567db77453e7c1c3cfe09d5bcd0 100644 (file)
--- 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[] =