projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unsetenv: Avoid gcc warning.
[gnulib.git]
/
lib
/
unsetenv.c
diff --git
a/lib/unsetenv.c
b/lib/unsetenv.c
index
215bba0
..
16b50d1
100644
(file)
--- a/
lib/unsetenv.c
+++ b/
lib/unsetenv.c
@@
-97,6
+97,13
@@
weak_alias (__unsetenv, unsetenv)
#else /* HAVE_UNSETENV */
# undef unsetenv
#else /* HAVE_UNSETENV */
# undef unsetenv
+# if !HAVE_DECL_UNSETENV
+# if VOID_UNSETENV
+extern void unsetenv (const char *);
+# else
+extern int unsetenv (const char *);
+# endif
+# endif
/* Call the underlying unsetenv, in case there is hidden bookkeeping
that needs updating beyond just modifying environ. */
/* Call the underlying unsetenv, in case there is hidden bookkeeping
that needs updating beyond just modifying environ. */