aboutsummaryrefslogtreecommitdiff
path: root/libiberty/setenv.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-03-28 05:07:08 +0000
committerDJ Delorie <dj@redhat.com>2005-03-28 05:07:08 +0000
commit1e45deed6a87c05c9e669e3cdfdda47cbfa9531d (patch)
treee2c1bba3c03c5917c8e70792a921dfc6b6b5eef9 /libiberty/setenv.c
parent49b1fae4309ab5b9833f0af388483c2b6b4b3d50 (diff)
downloadgdb-1e45deed6a87c05c9e669e3cdfdda47cbfa9531d.zip
gdb-1e45deed6a87c05c9e669e3cdfdda47cbfa9531d.tar.gz
gdb-1e45deed6a87c05c9e669e3cdfdda47cbfa9531d.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/setenv.c')
-rw-r--r--libiberty/setenv.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/libiberty/setenv.c b/libiberty/setenv.c
index 8394faf..35f2a31 100644
--- a/libiberty/setenv.c
+++ b/libiberty/setenv.c
@@ -80,10 +80,7 @@ static char **last_environ;
int
-setenv (name, value, replace)
- const char *name;
- const char *value;
- int replace;
+setenv (const char *name, const char *value, int replace)
{
register char **ep = 0;
register size_t size;
@@ -164,8 +161,7 @@ setenv (name, value, replace)
}
void
-unsetenv (name)
- const char *name;
+unsetenv (const char *name)
{
const size_t len = strlen (name);
char **ep;