projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
33d6341
)
[!HAVE_DECL_GETENV]: Declare getenv to avoid warning on SunOS4.
author
Jim Meyering
<jim@meyering.net>
Sun, 18 Nov 2001 10:54:42 +0000
(10:54 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 18 Nov 2001 10:54:42 +0000
(10:54 +0000)
lib/tempname.c
patch
|
blob
|
history
diff --git
a/lib/tempname.c
b/lib/tempname.c
index 5ead95ea3cc087634ab5b6907e1372de02ee61a6..0c9853e3b606b8c842e2f201ab857a56ff4208ea 100644
(file)
--- a/
lib/tempname.c
+++ b/
lib/tempname.c
@@
-1,4
+1,4
@@
-/* Copyright (C) 1991-1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991-1999, 2000
, 2001
Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@
-105,6
+105,13
@@
#if ! (HAVE___SECURE_GETENV || _LIBC)
# define __secure_getenv getenv
#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
/* Use the widest available unsigned type if uint64_t is not
#endif
/* Use the widest available unsigned type if uint64_t is not