# HG changeset patch # User Jim Meyering # Date 1007323179 0 # Node ID 9746171336297c3e859786a3cdb12acc3d8c42a7 # Parent 5f6d3c61a0e28f4ca65e06219a4fb931bcab49a6 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 --- 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