summaryrefslogtreecommitdiff
path: root/libiberty/putenv.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2002-01-22 20:14:53 +0000
committerDJ Delorie <dj@redhat.com>2002-01-22 20:14:53 +0000
commitcc096b7166610e6cca71574ef936acbabc922708 (patch)
treee1f498ad212739694972f83364c71a374ce90a3d /libiberty/putenv.c
parent069e84fd968e0561b436e2af0bd2310e028fd04f (diff)
downloadbinutils-gdb-cc096b7166610e6cca71574ef936acbabc922708.tar.gz
merge from gcc
Diffstat (limited to 'libiberty/putenv.c')
-rw-r--r--libiberty/putenv.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libiberty/putenv.c b/libiberty/putenv.c
index 58012fc83ad..6d027dc5aaa 100644
--- a/libiberty/putenv.c
+++ b/libiberty/putenv.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1994, 1995, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1994, 1995, 1996, 2002 Free Software Foundation, Inc.
This file based on putenv.c in the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -39,6 +39,8 @@ name is unset/removed.
#include "ansidecl.h"
+#define putenv libiberty_putenv
+
#if HAVE_STDLIB_H
# include <stdlib.h>
#endif
@@ -58,6 +60,8 @@ extern char *alloca ();
# endif /* alloca */
#endif /* HAVE_ALLOCA_H */
+#undef putenv
+
/* Below this point, it's verbatim code from the glibc-2.0 implementation */