diff options
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/getsubopt.c | 4 | ||||
-rw-r--r-- | stdlib/monetary.h | 12 | ||||
-rw-r--r-- | stdlib/stdlib.h | 4 |
3 files changed, 14 insertions, 6 deletions
diff --git a/stdlib/getsubopt.c b/stdlib/getsubopt.c index d559d9077f..3cff684fac 100644 --- a/stdlib/getsubopt.c +++ b/stdlib/getsubopt.c @@ -1,5 +1,5 @@ /* Parse comma separate list into words. - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996. @@ -31,7 +31,7 @@ int getsubopt (optionp, tokens, valuep) char **optionp; - const char *const *tokens; + char *const *tokens; char **valuep; { char *endp, *vstart; diff --git a/stdlib/monetary.h b/stdlib/monetary.h index d0dcaadfd7..de288a208b 100644 --- a/stdlib/monetary.h +++ b/stdlib/monetary.h @@ -1,5 +1,5 @@ /* Header file for monetary value formatting functions. - Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -23,7 +23,15 @@ #include <features.h> /* Get needed types. */ -#include <sys/types.h> +#define __need_size_t +#include <stddef.h> +#include <bits/types.h> + +#ifndef __ssize_t_defined +typedef __ssize_t ssize_t; +# define __ssize_t_defined +#endif + __BEGIN_DECLS 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 |