From 027819c292030cc1823b6a8d986682557191dda4 Mon Sep 17 00:00:00 2001 From: ache Date: Mon, 30 Apr 2007 02:27:43 +0000 Subject: Fix unsetenv and putenv prototypes to conform Open Group specs Issue 6 (also IEEE Std 1003.1-2001) --- include/stdlib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/stdlib.h') diff --git a/include/stdlib.h b/include/stdlib.h index 98fe8b7..98cb465 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -161,7 +161,7 @@ void _Exit(int) __dead2; int posix_memalign(void **, size_t, size_t); /* (ADV) */ int rand_r(unsigned *); /* (TSF) */ int setenv(const char *, const char *, int); -void unsetenv(const char *); +int unsetenv(const char *); #endif /* @@ -197,7 +197,7 @@ long mrand48(void); long nrand48(unsigned short[3]); int posix_openpt(int); char *ptsname(int); -int putenv(const char *); +int putenv(char *); long random(void); char *realpath(const char *, char resolved_path[]); unsigned short -- cgit v1.1