From acdf125133f9ec20dc533a1af879c52a8e754f90 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 6 Oct 1998 10:21:30 +0000 Subject: Update. 1998-10-05 Andreas Jaeger * 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. --- stdlib/stdlib.h | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'stdlib/stdlib.h') diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h index 72a91af894..7eb34fdf15 100644 --- a/stdlib/stdlib.h +++ b/stdlib/stdlib.h @@ -236,31 +236,31 @@ extern unsigned long long int __strtoull_internal __P ((__const char * /* Define inline functions which call the internal entry points. */ 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); } extern __inline long int -strtol (__const char *__restrict __nptr, char **__restrict __endptr, - int __base) +strtol __P ((__const char *__restrict __nptr, char **__restrict __endptr, + int __base)) { return __strtol_internal (__nptr, __endptr, __base, 0); } extern __inline unsigned long int -strtoul (__const char *__restrict __nptr, char **__restrict __endptr, - int __base) +strtoul __P ((__const char *__restrict __nptr, char **__restrict __endptr, + int __base)) { return __strtoul_internal (__nptr, __endptr, __base, 0); } # ifdef __USE_ISOC9X 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); } 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); } @@ -268,14 +268,14 @@ strtold (__const char *__restrict __nptr, char **__restrict __endptr) # ifdef __USE_BSD __extension__ extern __inline long long int -strtoq (__const char *__restrict __nptr, char **__restrict __endptr, - int __base) +strtoq __P ((__const char *__restrict __nptr, char **__restrict __endptr, + int __base)) { return __strtoll_internal (__nptr, __endptr, __base, 0); } __extension__ extern __inline unsigned long long int -strtouq (__const char *__restrict __nptr, char **__restrict __endptr, - int __base) +strtouq __P ((__const char *__restrict __nptr, char **__restrict __endptr, + int __base)) { 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 __extension__ extern __inline long long int -strtoll (__const char *__restrict __nptr, char **__restrict __endptr, - int __base) +strtoll __P ((__const char *__restrict __nptr, char **__restrict __endptr, + int __base)) { return __strtoll_internal (__nptr, __endptr, __base, 0); } __extension__ extern __inline unsigned long long int -strtoull (__const char * __restrict __nptr, char **__restrict __endptr, - int __base) +strtoull __P ((__const char * __restrict __nptr, char **__restrict __endptr, + int __base)) { return __strtoull_internal (__nptr, __endptr, __base, 0); } # endif extern __inline double -atof (__const char *__nptr) +atof __P ((__const char *__nptr)) { return strtod (__nptr, (char **) NULL); } extern __inline int -atoi (__const char *__nptr) +atoi __P ((__const char *__nptr)) { return (int) strtol (__nptr, (char **) NULL, 10); } extern __inline long int -atol (__const char *__nptr) +atol __P ((__const char *__nptr)) { return strtol (__nptr, (char **) NULL, 10); } # if defined __USE_MISC || defined __USE_ISOC9X __extension__ extern __inline long long int -atoll (__const char *__nptr) +atoll __P ((__const char *__nptr)) { return strtoll (__nptr, (char **) NULL, 10); } -- cgit v1.2.3