summaryrefslogtreecommitdiffstats
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2007-04-30 02:27:43 +0000
committerache <ache@FreeBSD.org>2007-04-30 02:27:43 +0000
commit027819c292030cc1823b6a8d986682557191dda4 (patch)
tree8e38f84a7e0680f765b6dd4c2e30cad398f31071 /include/stdlib.h
parentdf3730247f93a1787d0ee43349ab60b1cda06dfb (diff)
downloadFreeBSD-src-027819c292030cc1823b6a8d986682557191dda4.zip
FreeBSD-src-027819c292030cc1823b6a8d986682557191dda4.tar.gz
Fix unsetenv and putenv prototypes to conform Open Group specs Issue 6
(also IEEE Std 1003.1-2001)
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h4
1 files changed, 2 insertions, 2 deletions
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
OpenPOWER on IntegriCloud