diff options
author | jbj <devnull@localhost> | 2000-03-10 22:02:29 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2000-03-10 22:02:29 +0000 |
commit | 5d662d2e9c0b18a1ddfb8ad929bf6edf3586fa3d (patch) | |
tree | 9aa4843db39db07693c1bab45058d670dd3c5f44 /misc/setenv.c | |
parent | f4885d95eeb329676d0e8c05e379ff6315bcf60b (diff) | |
download | librpm-tizen-5d662d2e9c0b18a1ddfb8ad929bf6edf3586fa3d.tar.gz librpm-tizen-5d662d2e9c0b18a1ddfb8ad929bf6edf3586fa3d.tar.bz2 librpm-tizen-5d662d2e9c0b18a1ddfb8ad929bf6edf3586fa3d.zip |
Update portability routines from glibc-2.1.
CVS patchset: 3620
CVS date: 2000/03/10 22:02:29
Diffstat (limited to 'misc/setenv.c')
-rw-r--r-- | misc/setenv.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/misc/setenv.c b/misc/setenv.c index 12d984afe..daf1e02f4 100644 --- a/misc/setenv.c +++ b/misc/setenv.c @@ -104,12 +104,9 @@ static char **last_environ; must be used directly. This is all complicated by the fact that we try to reuse values once generated for a `setenv' call since we can never free the strings. */ -int -__add_to_environ (name, value, combined, replace) - const char *name; - const char *value; - const char *combined; - int replace; +static int +__add_to_environ (const char *name, const char *value, const char *combined, + int replace) { register char **ep; register size_t size; @@ -292,7 +289,7 @@ unsetenv (name) never made it. Nevertheless the POSIX.9 standard (POSIX bindings for Fortran 77) requires this function. */ int -clearenv () +clearenv (void) { LOCK; |