summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/xputenv.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-02-27 09:56:47 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-02-27 09:56:47 +0000
commit887b7e6fe2bddfda218b203882c10bbfcbb85ebe (patch)
treed7e835338c21342827167a029a70cf56323412a2 /Build/source/texk/kpathsea/xputenv.c
parent64a42b75079ee22c552c4b557d693a58cffd4f19 (diff)
port from new build system
git-svn-id: svn://tug.org/texlive/trunk@12248 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/xputenv.c')
-rw-r--r--Build/source/texk/kpathsea/xputenv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/kpathsea/xputenv.c b/Build/source/texk/kpathsea/xputenv.c
index 52aa0f44fbf..a42485000b3 100644
--- a/Build/source/texk/kpathsea/xputenv.c
+++ b/Build/source/texk/kpathsea/xputenv.c
@@ -22,9 +22,9 @@
#ifdef WIN32
#include <stdlib.h>
#else
-/* Avoid implicit declaration warning. But since some systems do
- declare it, don't use a prototype, for fear of conflicts. */
-extern int putenv ();
+#if !HAVE_DECL_PUTENV
+extern int putenv P1H(char* entry);
+#endif
#endif /* not WIN32 */
/* These record the strings we've set and have to keep around.