From: Jim Meyering Date: Sun, 2 Dec 2001 19:59:39 +0000 (+0000) Subject: Don't declare getenv, thus reverting the change of 2001-11-18. X-Git-Tag: cvs-readonly~5508 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=54929b7d58d7a87168e016685578e4956e2c4397;p=gnulib.git Don't declare getenv, thus reverting the change of 2001-11-18. It's no longer necessary, now that stdlib.h is always included. --- diff --git a/lib/tempname.c b/lib/tempname.c index 6af0de402..bf5a15d04 100644 --- a/lib/tempname.c +++ b/lib/tempname.c @@ -106,13 +106,6 @@ #if ! (HAVE___SECURE_GETENV || _LIBC) # define __secure_getenv getenv - -# ifndef HAVE_DECL_GETENV -"this configure-time declaration test was not run" -# endif -# if !HAVE_DECL_GETENV -char *getenv (); -# endif #endif #ifdef _LIBC