From ff152e3fc8c7d38e08d9f9d70eb6109c878e1372 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 14 May 1998 19:14:48 +0000 Subject: Update. 1998-05-14 13:25 Ulrich Drepper * inet/netinet/in.h: Add defines for multicast. Reported by Jeremy Hall . * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv. * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv and unsetenv. Optimize _LIBC case. * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks. Define functions with leading __. * time/tzfile.c: Correct handling of global variables daylight, timezone, and tzname. * time/tzset.c: Likewise. * timezone/Makefile (tests): Add tst-timezone. * timezone/tst-timezone.c: New file. 1998-05-14 10:35 Ulrich Drepper * timezone/asia: Update from tzdata1998d. * timezone/australasia: Likewise. * timezone/europe: Likewise. --- stdlib/stdlib.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'stdlib') diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h index 757c252e87..b0703333d1 100644 --- a/stdlib/stdlib.h +++ b/stdlib/stdlib.h @@ -533,10 +533,13 @@ extern int putenv __P ((__const char *__string)); #ifdef __USE_BSD /* Set NAME to VALUE in the environment. If REPLACE is nonzero, overwrite an existing value. */ +extern int __setenv __P ((__const char *__name, __const char *__value, + int __replace)); extern int setenv __P ((__const char *__name, __const char *__value, int __replace)); /* Remove the variable NAME from the environment. */ +extern void __unsetenv __P ((__const char *__name)); extern void unsetenv __P ((__const char *__name)); #endif -- cgit v1.2.3-70-g09d2