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: FILEUTILS-4_1_3~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4542868aeabe38fdd6d706c202c02098c55fe6c3;p=thirdparty%2Fcoreutils.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 6af0de4022..bf5a15d044 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