aboutsummaryrefslogtreecommitdiff
path: root/stdlib/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/stdlib.h')
-rw-r--r--stdlib/stdlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index 97fa000ea0..bec12090f3 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -537,7 +537,7 @@ extern char *__secure_getenv __P ((__const char *__name));
/* The SVID says this is in <stdio.h>, but this seems a better place. */
/* Put STRING, which is of the form "NAME=VALUE", in the environment.
If there is no `=', remove NAME from the environment. */
-extern int putenv __P ((__const char *__string));
+extern int putenv __P ((char *__string));
#endif
#ifdef __USE_BSD
@@ -736,7 +736,7 @@ extern int rpmatch __P ((__const char *__response));
suboption. On exit *OPTIONP is set to the beginning of the next
token or at the terminating NUL character. */
extern int getsubopt __P ((char **__restrict __optionp,
- __const char *__const *__restrict __tokens,
+ char *__const *__restrict __tokens,
char **__restrict __valuep));
#endif