bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] remove explicit declaration of putenv, ...


From: Jim Meyering
Subject: [PATCH] remove explicit declaration of putenv, ...
Date: Sun, 30 Nov 2008 19:15:28 +0100

FYI, I've just pushed this and the dd/reblock fix:

>From 57e2022b8d4fa6a2fbb420447705701535e58b0d Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Wed, 12 Nov 2008 11:02:50 +0100
Subject: [PATCH] remove explicit declaration of putenv, ...

* src/date.c: ... now that gnulib guarantees that it's in <stdlib.h>.
* src/env.c: Likewise.
---
 src/date.c |    2 --
 src/env.c  |    2 --
 2 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/date.c b/src/date.c
index e94de60..43e2005 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 97bec71..fb9d793 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[] =
--
1.6.0.4.1101.g642f8




reply via email to

[Prev in Thread] Current Thread [Next in Thread]