summaryrefslogtreecommitdiff
path: root/lib/tempname.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-12-02 19:59:39 +0000
committerJim Meyering <jim@meyering.net>2001-12-02 19:59:39 +0000
commit4542868aeabe38fdd6d706c202c02098c55fe6c3 (patch)
tree5b1614c046e5b3b7b0ad6ab0abf5ceda02e815d6 /lib/tempname.c
parent3287aaae94214fe0a6b1b667a4e65013a2491afd (diff)
downloadcoreutils-4542868aeabe38fdd6d706c202c02098c55fe6c3.tar.xz
Don't declare getenv, thus reverting the change of 2001-11-18.
It's no longer necessary, now that stdlib.h is always included.
Diffstat (limited to 'lib/tempname.c')
-rw-r--r--lib/tempname.c7
1 files changed, 0 insertions, 7 deletions
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