aboutsummaryrefslogtreecommitdiff
path: root/libiberty/setenv.c
diff options
context:
space:
mode:
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;