Update.
1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P in definitions of inline stat functions so that they match the declaration. * stdlib/stdlib.h: Likewise. * wcsmbs/wchar.h: Likewise. * libio/stdio.h: Likewise. * stdio/stdio.h: Likewise. * sysdeps/wordsize-64/inttypes.h: Likewise. * sysdeps/wordsize-32/inttypes.h: Likewise. * string/argz.h: Likewise. * argp/argp.h: Likewise.
This commit is contained in:
parent
3cb0721780
commit
acdf125133
14
ChangeLog
14
ChangeLog
@ -1,3 +1,17 @@
|
|||||||
|
1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
|
||||||
|
in definitions of inline stat functions so that they match the
|
||||||
|
declaration.
|
||||||
|
* stdlib/stdlib.h: Likewise.
|
||||||
|
* wcsmbs/wchar.h: Likewise.
|
||||||
|
* libio/stdio.h: Likewise.
|
||||||
|
* stdio/stdio.h: Likewise.
|
||||||
|
* sysdeps/wordsize-64/inttypes.h: Likewise.
|
||||||
|
* sysdeps/wordsize-32/inttypes.h: Likewise.
|
||||||
|
* string/argz.h: Likewise.
|
||||||
|
* argp/argp.h: Likewise.
|
||||||
|
|
||||||
1998-10-06 Ulrich Drepper <drepper@cygnus.com>
|
1998-10-06 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
|
* sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
|
||||||
|
@ -535,13 +535,13 @@ extern void *__argp_input __P ((__const struct argp *argp,
|
|||||||
# endif
|
# endif
|
||||||
|
|
||||||
ARGP_EI void
|
ARGP_EI void
|
||||||
__argp_usage (__const struct argp_state *__state)
|
__argp_usage __P ((__const struct argp_state *__state))
|
||||||
{
|
{
|
||||||
__argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE);
|
__argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE);
|
||||||
}
|
}
|
||||||
|
|
||||||
ARGP_EI int
|
ARGP_EI int
|
||||||
__option_is_short (__const struct argp_option *__opt)
|
__option_is_short __P ((__const struct argp_option *__opt))
|
||||||
{
|
{
|
||||||
if (__opt->flags & OPTION_DOC)
|
if (__opt->flags & OPTION_DOC)
|
||||||
return 0;
|
return 0;
|
||||||
@ -553,7 +553,7 @@ __option_is_short (__const struct argp_option *__opt)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ARGP_EI int
|
ARGP_EI int
|
||||||
__option_is_end (__const struct argp_option *__opt)
|
__option_is_end __P ((__const struct argp_option *__opt))
|
||||||
{
|
{
|
||||||
return !__opt->key && !__opt->name && !__opt->doc && !__opt->group;
|
return !__opt->key && !__opt->name && !__opt->doc && !__opt->group;
|
||||||
}
|
}
|
||||||
|
@ -281,7 +281,7 @@ extern int vsprintf __P ((char *__restrict __s,
|
|||||||
|
|
||||||
#ifdef __USE_EXTERN_INLINES
|
#ifdef __USE_EXTERN_INLINES
|
||||||
__STDIO_INLINE int
|
__STDIO_INLINE int
|
||||||
vprintf (__const char *__restrict __fmt, _G_va_list __arg)
|
vprintf __P ((__const char *__restrict __fmt, _G_va_list __arg))
|
||||||
{
|
{
|
||||||
return vfprintf (stdout, __fmt, __arg);
|
return vfprintf (stdout, __fmt, __arg);
|
||||||
}
|
}
|
||||||
@ -366,7 +366,7 @@ extern int getchar __P ((void));
|
|||||||
|
|
||||||
#ifdef __USE_EXTERN_INLINES
|
#ifdef __USE_EXTERN_INLINES
|
||||||
__STDIO_INLINE int
|
__STDIO_INLINE int
|
||||||
getchar (void)
|
getchar __P ((void))
|
||||||
{
|
{
|
||||||
return _IO_getc (stdin);
|
return _IO_getc (stdin);
|
||||||
}
|
}
|
||||||
@ -379,13 +379,13 @@ extern int getchar_unlocked __P ((void));
|
|||||||
|
|
||||||
# ifdef __USE_EXTERN_INLINES
|
# ifdef __USE_EXTERN_INLINES
|
||||||
__STDIO_INLINE int
|
__STDIO_INLINE int
|
||||||
getc_unlocked (FILE *__fp)
|
getc_unlocked __P ((FILE *__fp))
|
||||||
{
|
{
|
||||||
return _IO_getc_unlocked (__fp);
|
return _IO_getc_unlocked (__fp);
|
||||||
}
|
}
|
||||||
|
|
||||||
__STDIO_INLINE int
|
__STDIO_INLINE int
|
||||||
getchar_unlocked (void)
|
getchar_unlocked __P ((void))
|
||||||
{
|
{
|
||||||
return _IO_getc_unlocked (stdin);
|
return _IO_getc_unlocked (stdin);
|
||||||
}
|
}
|
||||||
@ -406,7 +406,7 @@ extern int putchar __P ((int __c));
|
|||||||
|
|
||||||
#ifdef __USE_EXTERN_INLINES
|
#ifdef __USE_EXTERN_INLINES
|
||||||
__STDIO_INLINE int
|
__STDIO_INLINE int
|
||||||
putchar (int __c)
|
putchar __P ((int __c))
|
||||||
{
|
{
|
||||||
return _IO_putc (__c, stdout);
|
return _IO_putc (__c, stdout);
|
||||||
}
|
}
|
||||||
@ -418,7 +418,7 @@ extern int fputc_unlocked __P ((int __c, FILE *__stream));
|
|||||||
|
|
||||||
# ifdef __USE_EXTERN_INLINES
|
# ifdef __USE_EXTERN_INLINES
|
||||||
__STDIO_INLINE int
|
__STDIO_INLINE int
|
||||||
fputc_unlocked (int __c, FILE *__stream)
|
fputc_unlocked __P ((int __c, FILE *__stream))
|
||||||
{
|
{
|
||||||
return _IO_putc_unlocked (__c, __stream);
|
return _IO_putc_unlocked (__c, __stream);
|
||||||
}
|
}
|
||||||
@ -432,13 +432,13 @@ extern int putchar_unlocked __P ((int __c));
|
|||||||
|
|
||||||
# ifdef __USE_EXTERN_INLINES
|
# ifdef __USE_EXTERN_INLINES
|
||||||
__STDIO_INLINE int
|
__STDIO_INLINE int
|
||||||
putc_unlocked (int __c, FILE *__stream)
|
putc_unlocked __P ((int __c, FILE *__stream))
|
||||||
{
|
{
|
||||||
return _IO_putc_unlocked (__c, __stream);
|
return _IO_putc_unlocked (__c, __stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
__STDIO_INLINE int
|
__STDIO_INLINE int
|
||||||
putchar_unlocked (int __c)
|
putchar_unlocked __P ((int __c))
|
||||||
{
|
{
|
||||||
return _IO_putc_unlocked (__c, stdout);
|
return _IO_putc_unlocked (__c, stdout);
|
||||||
}
|
}
|
||||||
@ -487,7 +487,7 @@ extern _IO_ssize_t getline __P ((char **__lineptr, size_t *__n,
|
|||||||
|
|
||||||
# ifdef __USE_EXTERN_INLINES
|
# ifdef __USE_EXTERN_INLINES
|
||||||
__STDIO_INLINE _IO_ssize_t
|
__STDIO_INLINE _IO_ssize_t
|
||||||
getline (char **__lineptr, size_t *__n, FILE *__stream)
|
getline __P ((char **__lineptr, size_t *__n, FILE *__stream))
|
||||||
{
|
{
|
||||||
return __getdelim (__lineptr, __n, '\n', __stream);
|
return __getdelim (__lineptr, __n, '\n', __stream);
|
||||||
}
|
}
|
||||||
@ -618,13 +618,13 @@ extern int ferror_unlocked __P ((FILE *__stream));
|
|||||||
|
|
||||||
# ifdef __USE_EXTERN_INLINES
|
# ifdef __USE_EXTERN_INLINES
|
||||||
__STDIO_INLINE int
|
__STDIO_INLINE int
|
||||||
feof_unlocked (FILE *__stream)
|
feof_unlocked __P ((FILE *__stream))
|
||||||
{
|
{
|
||||||
return _IO_feof_unlocked (__stream);
|
return _IO_feof_unlocked (__stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
__STDIO_INLINE int
|
__STDIO_INLINE int
|
||||||
ferror_unlocked (FILE *__stream)
|
ferror_unlocked __P ((FILE *__stream))
|
||||||
{
|
{
|
||||||
return _IO_ferror_unlocked (__stream);
|
return _IO_ferror_unlocked (__stream);
|
||||||
}
|
}
|
||||||
|
@ -426,7 +426,7 @@ extern int vsprintf __P ((char *__restrict __s,
|
|||||||
|
|
||||||
#ifdef __OPTIMIZE__
|
#ifdef __OPTIMIZE__
|
||||||
extern __inline int
|
extern __inline int
|
||||||
vprintf (const char *__restrict __fmt, __gnuc_va_list __arg)
|
vprintf __P ((const char *__restrict __fmt, __gnuc_va_list __arg))
|
||||||
{
|
{
|
||||||
return vfprintf (stdout, __fmt, __arg);
|
return vfprintf (stdout, __fmt, __arg);
|
||||||
}
|
}
|
||||||
@ -500,17 +500,17 @@ extern int vsscanf __P ((__const char *__s, __const char *__format,
|
|||||||
|
|
||||||
#ifdef __OPTIMIZE__
|
#ifdef __OPTIMIZE__
|
||||||
extern __inline int
|
extern __inline int
|
||||||
vfscanf (FILE *__s, const char *__fmt, __gnuc_va_list __arg)
|
vfscanf __P ((FILE *__s, const char *__fmt, __gnuc_va_list __arg))
|
||||||
{
|
{
|
||||||
return __vfscanf (__s, __fmt, __arg);
|
return __vfscanf (__s, __fmt, __arg);
|
||||||
}
|
}
|
||||||
extern __inline int
|
extern __inline int
|
||||||
vscanf (const char *__fmt, __gnuc_va_list __arg)
|
vscanf __P ((const char *__fmt, __gnuc_va_list __arg))
|
||||||
{
|
{
|
||||||
return __vfscanf (stdin, __fmt, __arg);
|
return __vfscanf (stdin, __fmt, __arg);
|
||||||
}
|
}
|
||||||
extern __inline int
|
extern __inline int
|
||||||
vsscanf (const char *__s, const char *__fmt, __gnuc_va_list __arg)
|
vsscanf __P ((const char *__s, const char *__fmt, __gnuc_va_list __arg))
|
||||||
{
|
{
|
||||||
return __vsscanf (__s, __fmt, __arg);
|
return __vsscanf (__s, __fmt, __arg);
|
||||||
}
|
}
|
||||||
@ -542,7 +542,7 @@ extern int getchar __P ((void));
|
|||||||
|
|
||||||
#ifdef __OPTIMIZE__
|
#ifdef __OPTIMIZE__
|
||||||
extern __inline int
|
extern __inline int
|
||||||
getchar (void)
|
getchar __P ((void))
|
||||||
{
|
{
|
||||||
return __getc (stdin);
|
return __getc (stdin);
|
||||||
}
|
}
|
||||||
@ -555,13 +555,13 @@ extern int getchar_unlocked __P ((void));
|
|||||||
|
|
||||||
# ifdef __OPTIMIZE__
|
# ifdef __OPTIMIZE__
|
||||||
extern __inline int
|
extern __inline int
|
||||||
getc_unlocked (FILE *__stream)
|
getc_unlocked __P ((FILE *__stream))
|
||||||
{
|
{
|
||||||
return __getc (__stream);
|
return __getc (__stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern __inline int
|
extern __inline int
|
||||||
getchar_unlocked (void)
|
getchar_unlocked __P ((void))
|
||||||
{
|
{
|
||||||
return __getc (stdin);
|
return __getc (stdin);
|
||||||
}
|
}
|
||||||
@ -590,7 +590,7 @@ extern int putchar __P ((int __c));
|
|||||||
|
|
||||||
#ifdef __OPTIMIZE__
|
#ifdef __OPTIMIZE__
|
||||||
extern __inline int
|
extern __inline int
|
||||||
putchar (int __c)
|
putchar __P ((int __c))
|
||||||
{
|
{
|
||||||
return __putc (__c, stdout);
|
return __putc (__c, stdout);
|
||||||
}
|
}
|
||||||
@ -602,7 +602,7 @@ extern int fputc_unlocked __P ((int __c, FILE *__stream));
|
|||||||
|
|
||||||
# ifdef __OPTIMIZE__
|
# ifdef __OPTIMIZE__
|
||||||
extern __inline int
|
extern __inline int
|
||||||
fputc_unlocked (int __c, FILE *__stream)
|
fputc_unlocked __P ((int __c, FILE *__stream))
|
||||||
{
|
{
|
||||||
return __putc (__c, __stream);
|
return __putc (__c, __stream);
|
||||||
}
|
}
|
||||||
@ -616,13 +616,13 @@ extern int putchar_unlocked __P ((int __c));
|
|||||||
|
|
||||||
# ifdef __OPTIMIZE__
|
# ifdef __OPTIMIZE__
|
||||||
extern __inline int
|
extern __inline int
|
||||||
putc_unlocked (int __c, FILE *__stream)
|
putc_unlocked __P ((int __c, FILE *__stream))
|
||||||
{
|
{
|
||||||
return __putc (__c, __stream);
|
return __putc (__c, __stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern __inline int
|
extern __inline int
|
||||||
putchar_unlocked (int __c)
|
putchar_unlocked __P ((int __c))
|
||||||
{
|
{
|
||||||
return __putc (__c, stdout);
|
return __putc (__c, stdout);
|
||||||
}
|
}
|
||||||
@ -673,7 +673,7 @@ ssize_t getline __P ((char **__lineptr, size_t *__n, FILE *__stream));
|
|||||||
|
|
||||||
#ifdef __OPTIMIZE__
|
#ifdef __OPTIMIZE__
|
||||||
extern __inline ssize_t
|
extern __inline ssize_t
|
||||||
getline (char **__lineptr, size_t *__n, FILE *__stream)
|
getline __P ((char **__lineptr, size_t *__n, FILE *__stream))
|
||||||
{
|
{
|
||||||
return __getdelim (__lineptr, __n, '\n', __stream);
|
return __getdelim (__lineptr, __n, '\n', __stream);
|
||||||
}
|
}
|
||||||
|
@ -236,31 +236,31 @@ extern unsigned long long int __strtoull_internal __P ((__const char *
|
|||||||
/* Define inline functions which call the internal entry points. */
|
/* Define inline functions which call the internal entry points. */
|
||||||
|
|
||||||
extern __inline double
|
extern __inline double
|
||||||
strtod (__const char *__restrict __nptr, char **__restrict __endptr)
|
strtod __P ((__const char *__restrict __nptr, char **__restrict __endptr))
|
||||||
{
|
{
|
||||||
return __strtod_internal (__nptr, __endptr, 0);
|
return __strtod_internal (__nptr, __endptr, 0);
|
||||||
}
|
}
|
||||||
extern __inline long int
|
extern __inline long int
|
||||||
strtol (__const char *__restrict __nptr, char **__restrict __endptr,
|
strtol __P ((__const char *__restrict __nptr, char **__restrict __endptr,
|
||||||
int __base)
|
int __base))
|
||||||
{
|
{
|
||||||
return __strtol_internal (__nptr, __endptr, __base, 0);
|
return __strtol_internal (__nptr, __endptr, __base, 0);
|
||||||
}
|
}
|
||||||
extern __inline unsigned long int
|
extern __inline unsigned long int
|
||||||
strtoul (__const char *__restrict __nptr, char **__restrict __endptr,
|
strtoul __P ((__const char *__restrict __nptr, char **__restrict __endptr,
|
||||||
int __base)
|
int __base))
|
||||||
{
|
{
|
||||||
return __strtoul_internal (__nptr, __endptr, __base, 0);
|
return __strtoul_internal (__nptr, __endptr, __base, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
# ifdef __USE_ISOC9X
|
# ifdef __USE_ISOC9X
|
||||||
extern __inline float
|
extern __inline float
|
||||||
strtof (__const char *__restrict __nptr, char **__restrict __endptr)
|
strtof __P ((__const char *__restrict __nptr, char **__restrict __endptr))
|
||||||
{
|
{
|
||||||
return __strtof_internal (__nptr, __endptr, 0);
|
return __strtof_internal (__nptr, __endptr, 0);
|
||||||
}
|
}
|
||||||
extern __inline __long_double_t
|
extern __inline __long_double_t
|
||||||
strtold (__const char *__restrict __nptr, char **__restrict __endptr)
|
strtold __P ((__const char *__restrict __nptr, char **__restrict __endptr))
|
||||||
{
|
{
|
||||||
return __strtold_internal (__nptr, __endptr, 0);
|
return __strtold_internal (__nptr, __endptr, 0);
|
||||||
}
|
}
|
||||||
@ -268,14 +268,14 @@ strtold (__const char *__restrict __nptr, char **__restrict __endptr)
|
|||||||
|
|
||||||
# ifdef __USE_BSD
|
# ifdef __USE_BSD
|
||||||
__extension__ extern __inline long long int
|
__extension__ extern __inline long long int
|
||||||
strtoq (__const char *__restrict __nptr, char **__restrict __endptr,
|
strtoq __P ((__const char *__restrict __nptr, char **__restrict __endptr,
|
||||||
int __base)
|
int __base))
|
||||||
{
|
{
|
||||||
return __strtoll_internal (__nptr, __endptr, __base, 0);
|
return __strtoll_internal (__nptr, __endptr, __base, 0);
|
||||||
}
|
}
|
||||||
__extension__ extern __inline unsigned long long int
|
__extension__ extern __inline unsigned long long int
|
||||||
strtouq (__const char *__restrict __nptr, char **__restrict __endptr,
|
strtouq __P ((__const char *__restrict __nptr, char **__restrict __endptr,
|
||||||
int __base)
|
int __base))
|
||||||
{
|
{
|
||||||
return __strtoull_internal (__nptr, __endptr, __base, 0);
|
return __strtoull_internal (__nptr, __endptr, __base, 0);
|
||||||
}
|
}
|
||||||
@ -283,38 +283,38 @@ strtouq (__const char *__restrict __nptr, char **__restrict __endptr,
|
|||||||
|
|
||||||
# if defined __USE_MISC || defined __USE_ISOC9X
|
# if defined __USE_MISC || defined __USE_ISOC9X
|
||||||
__extension__ extern __inline long long int
|
__extension__ extern __inline long long int
|
||||||
strtoll (__const char *__restrict __nptr, char **__restrict __endptr,
|
strtoll __P ((__const char *__restrict __nptr, char **__restrict __endptr,
|
||||||
int __base)
|
int __base))
|
||||||
{
|
{
|
||||||
return __strtoll_internal (__nptr, __endptr, __base, 0);
|
return __strtoll_internal (__nptr, __endptr, __base, 0);
|
||||||
}
|
}
|
||||||
__extension__ extern __inline unsigned long long int
|
__extension__ extern __inline unsigned long long int
|
||||||
strtoull (__const char * __restrict __nptr, char **__restrict __endptr,
|
strtoull __P ((__const char * __restrict __nptr, char **__restrict __endptr,
|
||||||
int __base)
|
int __base))
|
||||||
{
|
{
|
||||||
return __strtoull_internal (__nptr, __endptr, __base, 0);
|
return __strtoull_internal (__nptr, __endptr, __base, 0);
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
extern __inline double
|
extern __inline double
|
||||||
atof (__const char *__nptr)
|
atof __P ((__const char *__nptr))
|
||||||
{
|
{
|
||||||
return strtod (__nptr, (char **) NULL);
|
return strtod (__nptr, (char **) NULL);
|
||||||
}
|
}
|
||||||
extern __inline int
|
extern __inline int
|
||||||
atoi (__const char *__nptr)
|
atoi __P ((__const char *__nptr))
|
||||||
{
|
{
|
||||||
return (int) strtol (__nptr, (char **) NULL, 10);
|
return (int) strtol (__nptr, (char **) NULL, 10);
|
||||||
}
|
}
|
||||||
extern __inline long int
|
extern __inline long int
|
||||||
atol (__const char *__nptr)
|
atol __P ((__const char *__nptr))
|
||||||
{
|
{
|
||||||
return strtol (__nptr, (char **) NULL, 10);
|
return strtol (__nptr, (char **) NULL, 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
# if defined __USE_MISC || defined __USE_ISOC9X
|
# if defined __USE_MISC || defined __USE_ISOC9X
|
||||||
__extension__ extern __inline long long int
|
__extension__ extern __inline long long int
|
||||||
atoll (__const char *__nptr)
|
atoll __P ((__const char *__nptr))
|
||||||
{
|
{
|
||||||
return strtoll (__nptr, (char **) NULL, 10);
|
return strtoll (__nptr, (char **) NULL, 10);
|
||||||
}
|
}
|
||||||
|
@ -137,7 +137,7 @@ extern char *argz_next __P ((__const char *argz, size_t __argz_len,
|
|||||||
|
|
||||||
#ifdef __USE_EXTERN_INLINES
|
#ifdef __USE_EXTERN_INLINES
|
||||||
extern inline char *
|
extern inline char *
|
||||||
__argz_next (__const char *__argz, size_t __argz_len, __const char *__entry)
|
__argz_next __P ((__const char *__argz, size_t __argz_len, __const char *__entry))
|
||||||
{
|
{
|
||||||
if (__entry)
|
if (__entry)
|
||||||
{
|
{
|
||||||
@ -150,7 +150,7 @@ __argz_next (__const char *__argz, size_t __argz_len, __const char *__entry)
|
|||||||
return __argz_len > 0 ? (char *) __argz : 0;
|
return __argz_len > 0 ? (char *) __argz : 0;
|
||||||
}
|
}
|
||||||
extern inline char *
|
extern inline char *
|
||||||
argz_next (__const char *__argz, size_t __argz_len, __const char *__entry)
|
argz_next __P ((__const char *__argz, size_t __argz_len, __const char *__entry))
|
||||||
{
|
{
|
||||||
return __argz_next (__argz, __argz_len, __entry);
|
return __argz_next (__argz, __argz_len, __entry);
|
||||||
}
|
}
|
||||||
|
@ -200,7 +200,7 @@ struct cmsghdr
|
|||||||
extern struct cmsghdr *__cmsg_nxthdr __P ((struct msghdr *__mhdr,
|
extern struct cmsghdr *__cmsg_nxthdr __P ((struct msghdr *__mhdr,
|
||||||
struct cmsghdr *__cmsg));
|
struct cmsghdr *__cmsg));
|
||||||
_EXTERN_INLINE struct cmsghdr *
|
_EXTERN_INLINE struct cmsghdr *
|
||||||
__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)
|
__cmsg_nxthdr __P ((struct msghdr *__mhdr, struct cmsghdr *__cmsg))
|
||||||
{
|
{
|
||||||
if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr))
|
if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr))
|
||||||
/* The kernel header does this so there may be a reason. */
|
/* The kernel header does this so there may be a reason. */
|
||||||
|
@ -278,7 +278,8 @@ extern long long int __strtoll_internal __P ((__const char *__restrict __nptr,
|
|||||||
# define __strtoll_internal_defined 1
|
# define __strtoll_internal_defined 1
|
||||||
# endif
|
# endif
|
||||||
extern __inline intmax_t
|
extern __inline intmax_t
|
||||||
strtoimax (__const char *__restrict nptr, char **__restrict endptr, int base)
|
strtoimax __P ((__const char *__restrict nptr, char **__restrict endptr,
|
||||||
|
int base))
|
||||||
{
|
{
|
||||||
return __strtoll_internal (nptr, endptr, base, 0);
|
return __strtoll_internal (nptr, endptr, base, 0);
|
||||||
}
|
}
|
||||||
@ -295,7 +296,8 @@ extern unsigned long long int __strtoull_internal __P ((__const char *
|
|||||||
# define __strtoull_internal_defined 1
|
# define __strtoull_internal_defined 1
|
||||||
# endif
|
# endif
|
||||||
extern __inline uintmax_t
|
extern __inline uintmax_t
|
||||||
strtoumax (__const char *__restrict nptr, char **__restrict endptr, int base)
|
strtoumax __P ((__const char *__restrict nptr, char **__restrict endptr,
|
||||||
|
int base))
|
||||||
{
|
{
|
||||||
return __strtoull_internal (nptr, endptr, base, 0);
|
return __strtoull_internal (nptr, endptr, base, 0);
|
||||||
}
|
}
|
||||||
@ -310,8 +312,8 @@ extern long long int __wcstoll_internal __P ((__const wchar_t *
|
|||||||
# define __wcstoll_internal_defined 1
|
# define __wcstoll_internal_defined 1
|
||||||
# endif
|
# endif
|
||||||
extern __inline intmax_t
|
extern __inline intmax_t
|
||||||
wcstoimax (__const wchar_t *__restrict nptr, wchar_t **__restrict endptr,
|
wcstoimax __P ((__const wchar_t *__restrict nptr, wchar_t **__restrict endptr,
|
||||||
int base)
|
int base))
|
||||||
{
|
{
|
||||||
return __wcstoll_internal (nptr, endptr, base, 0);
|
return __wcstoll_internal (nptr, endptr, base, 0);
|
||||||
}
|
}
|
||||||
@ -329,8 +331,8 @@ extern unsigned long long int __wcstoull_internal __P ((__const wchar_t *
|
|||||||
# define __wcstoull_internal_defined 1
|
# define __wcstoull_internal_defined 1
|
||||||
# endif
|
# endif
|
||||||
extern __inline uintmax_t
|
extern __inline uintmax_t
|
||||||
wcstoumax (__const wchar_t *__restrict nptr, wchar_t **__restrict endptr,
|
wcstoumax __P ((__const wchar_t *__restrict nptr, wchar_t **__restrict endptr,
|
||||||
int base)
|
int base))
|
||||||
{
|
{
|
||||||
return __wcstoull_internal (nptr, endptr, base, 0);
|
return __wcstoull_internal (nptr, endptr, base, 0);
|
||||||
}
|
}
|
||||||
|
@ -277,7 +277,8 @@ extern long int __strtol_internal __P ((__const char *__restrict __nptr,
|
|||||||
# define __strtol_internal_defined 1
|
# define __strtol_internal_defined 1
|
||||||
# endif
|
# endif
|
||||||
extern __inline intmax_t
|
extern __inline intmax_t
|
||||||
strtoimax (__const char *__restrict nptr, char **__restrict endptr, int base)
|
strtoimax __P ((__const char *__restrict nptr, char **__restrict endptr,
|
||||||
|
int base))
|
||||||
{
|
{
|
||||||
return __strtol_internal (nptr, endptr, base, 0);
|
return __strtol_internal (nptr, endptr, base, 0);
|
||||||
}
|
}
|
||||||
@ -291,7 +292,8 @@ extern unsigned long int __strtoul_internal __P ((__const char *
|
|||||||
# define __strtoul_internal_defined 1
|
# define __strtoul_internal_defined 1
|
||||||
# endif
|
# endif
|
||||||
extern __inline uintmax_t
|
extern __inline uintmax_t
|
||||||
strtoumax (__const char *__restrict nptr, char **__restrict endptr, int base)
|
strtoumax __P ((__const char *__restrict nptr, char **__restrict endptr,
|
||||||
|
int base))
|
||||||
{
|
{
|
||||||
return __strtoul_internal (nptr, endptr, base, 0);
|
return __strtoul_internal (nptr, endptr, base, 0);
|
||||||
}
|
}
|
||||||
@ -304,8 +306,8 @@ extern long int __wcstol_internal __P ((__const wchar_t * __restrict __nptr,
|
|||||||
# define __wcstol_internal_defined 1
|
# define __wcstol_internal_defined 1
|
||||||
# endif
|
# endif
|
||||||
extern __inline intmax_t
|
extern __inline intmax_t
|
||||||
wcstoimax (__const wchar_t *__restrict nptr, wchar_t **__restrict endptr,
|
wcstoimax __P ((__const wchar_t *__restrict nptr, wchar_t **__restrict endptr,
|
||||||
int base)
|
int base))
|
||||||
{
|
{
|
||||||
return __wcstol_internal (nptr, endptr, base, 0);
|
return __wcstol_internal (nptr, endptr, base, 0);
|
||||||
}
|
}
|
||||||
@ -321,8 +323,8 @@ extern unsigned long int __wcstoul_internal __P ((__const wchar_t *
|
|||||||
# define __wcstoul_internal_defined 1
|
# define __wcstoul_internal_defined 1
|
||||||
# endif
|
# endif
|
||||||
extern __inline uintmax_t
|
extern __inline uintmax_t
|
||||||
wcstoumax (__const wchar_t *__restrict nptr, wchar_t **__restrict endptr,
|
wcstoumax __P ((__const wchar_t *__restrict nptr, wchar_t **__restrict endptr,
|
||||||
int base)
|
int base))
|
||||||
{
|
{
|
||||||
return __wcstoul_internal (nptr, endptr, base, 0);
|
return __wcstoul_internal (nptr, endptr, base, 0);
|
||||||
}
|
}
|
||||||
|
@ -236,8 +236,8 @@ extern size_t mbrlen __P ((__const char *__restrict __s, size_t __n,
|
|||||||
#if defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__ \
|
#if defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__ \
|
||||||
&& defined __USE_EXTERN_INLINES
|
&& defined __USE_EXTERN_INLINES
|
||||||
/* Define inline function as optimization. */
|
/* Define inline function as optimization. */
|
||||||
extern __inline size_t mbrlen (__const char *__restrict __s, size_t __n,
|
extern __inline size_t mbrlen __P ((__const char *__restrict __s, size_t __n,
|
||||||
mbstate_t *__restrict __ps)
|
mbstate_t *__restrict __ps))
|
||||||
{ return (__ps != NULL
|
{ return (__ps != NULL
|
||||||
? mbrtowc (NULL, __s, __n, __ps) : __mbrlen (__s, __n, NULL)); }
|
? mbrtowc (NULL, __s, __n, __ps) : __mbrlen (__s, __n, NULL)); }
|
||||||
#endif
|
#endif
|
||||||
@ -440,36 +440,40 @@ extern unsigned long long int __wcstoull_internal __P ((__const wchar_t *
|
|||||||
#if defined __OPTIMIZE__ && __GNUC__ >= 2
|
#if defined __OPTIMIZE__ && __GNUC__ >= 2
|
||||||
/* Define inline functions which call the internal entry points. */
|
/* Define inline functions which call the internal entry points. */
|
||||||
|
|
||||||
extern __inline double wcstod (__const wchar_t *__restrict __nptr,
|
extern __inline double wcstod __P ((__const wchar_t *__restrict __nptr,
|
||||||
wchar_t **__restrict __endptr)
|
wchar_t **__restrict __endptr))
|
||||||
{ return __wcstod_internal (__nptr, __endptr, 0); }
|
{ return __wcstod_internal (__nptr, __endptr, 0); }
|
||||||
extern __inline long int wcstol (__const wchar_t *__restrict __nptr,
|
extern __inline long int wcstol __P ((__const wchar_t *__restrict __nptr,
|
||||||
wchar_t **__restrict __endptr, int __base)
|
wchar_t **__restrict __endptr,
|
||||||
|
int __base))
|
||||||
{ return __wcstol_internal (__nptr, __endptr, __base, 0); }
|
{ return __wcstol_internal (__nptr, __endptr, __base, 0); }
|
||||||
extern __inline unsigned long int wcstoul (__const wchar_t *__restrict __nptr,
|
extern __inline unsigned long int wcstoul __P ((__const wchar_t *
|
||||||
wchar_t **__restrict __endptr,
|
__restrict __nptr,
|
||||||
int __base)
|
wchar_t **__restrict __endptr,
|
||||||
|
int __base))
|
||||||
{ return __wcstoul_internal (__nptr, __endptr, __base, 0); }
|
{ return __wcstoul_internal (__nptr, __endptr, __base, 0); }
|
||||||
|
|
||||||
# ifdef __USE_GNU
|
# ifdef __USE_GNU
|
||||||
extern __inline float wcstof (__const wchar_t *__restrict __nptr,
|
extern __inline float wcstof __P ((__const wchar_t *__restrict __nptr,
|
||||||
wchar_t **__restrict __endptr)
|
wchar_t **__restrict __endptr))
|
||||||
{ return __wcstof_internal (__nptr, __endptr, 0); }
|
{ return __wcstof_internal (__nptr, __endptr, 0); }
|
||||||
extern __inline __long_double_t wcstold (__const wchar_t *__restrict __nptr,
|
extern __inline __long_double_t wcstold __P ((__const wchar_t *
|
||||||
wchar_t **__restrict __endptr)
|
__restrict __nptr,
|
||||||
|
wchar_t **__restrict __endptr))
|
||||||
{ return __wcstold_internal (__nptr, __endptr, 0); }
|
{ return __wcstold_internal (__nptr, __endptr, 0); }
|
||||||
|
|
||||||
|
|
||||||
__extension__
|
__extension__
|
||||||
extern __inline long long int wcstoq (__const wchar_t *__restrict __nptr,
|
extern __inline long long int wcstoq __P ((__const wchar_t *__restrict __nptr,
|
||||||
wchar_t **__restrict __endptr,
|
wchar_t **__restrict __endptr,
|
||||||
int __base)
|
int __base))
|
||||||
{ return __wcstoll_internal (__nptr, __endptr, __base, 0); }
|
{ return __wcstoll_internal (__nptr, __endptr, __base, 0); }
|
||||||
__extension__
|
__extension__
|
||||||
extern __inline unsigned long long int wcstouq (__const wchar_t *
|
extern __inline unsigned long long int wcstouq __P ((__const wchar_t *
|
||||||
__restrict __nptr,
|
__restrict __nptr,
|
||||||
wchar_t **__restrict __endptr,
|
wchar_t **
|
||||||
int __base)
|
__restrict __endptr,
|
||||||
|
int __base))
|
||||||
{ return __wcstoull_internal (__nptr, __endptr, __base, 0); }
|
{ return __wcstoull_internal (__nptr, __endptr, __base, 0); }
|
||||||
# endif /* Use GNU. */
|
# endif /* Use GNU. */
|
||||||
#endif /* Optimizing GCC >=2. */
|
#endif /* Optimizing GCC >=2. */
|
||||||
|
Loading…
Reference in New Issue
Block a user