mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Update.
* include/stdlib.h: Change return type of unsetenv to int.
This commit is contained in:
parent
61f9d0a356
commit
842d709cb3
@ -6,6 +6,7 @@
|
||||
(setenv, unsetenv): Make available for __USE_XOPEN2K.
|
||||
Change return type of unsetenv to int.
|
||||
(qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
|
||||
* include/stdlib.h: Change return type of unsetenv to int.
|
||||
* sysdeps/generic/setenv.c (unsetenv): Change return type to int.
|
||||
Return -1 and set errno if parameter is invalid.
|
||||
* stdlib/random.c (__random): Change return value type to long.
|
||||
|
@ -40,7 +40,7 @@ extern int __drand48_iterate (unsigned short int __xsubi[3],
|
||||
|
||||
extern int __setenv (__const char *__name, __const char *__value,
|
||||
int __replace);
|
||||
extern void __unsetenv (__const char *__name);
|
||||
extern int __unsetenv (__const char *__name);
|
||||
extern int __clearenv (void);
|
||||
extern char *__canonicalize_file_name (__const char *__name);
|
||||
extern char *__realpath (__const char *__name, char *__resolved);
|
||||
|
Loading…
Reference in New Issue
Block a user