about summary refs log tree commit diff
path: root/wcsmbs/wchar.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-10-06 10:21:30 +0000
committerUlrich Drepper <drepper@redhat.com>1998-10-06 10:21:30 +0000
commitacdf125133f9ec20dc533a1af879c52a8e754f90 (patch)
tree1d61cb807566584de805504e9fc4f3b035bd068a /wcsmbs/wchar.h
parent3cb0721780482693695c9cba48b0401995c4793d (diff)
downloadglibc-acdf125133f9ec20dc533a1af879c52a8e754f90.tar.gz
glibc-acdf125133f9ec20dc533a1af879c52a8e754f90.tar.xz
glibc-acdf125133f9ec20dc533a1af879c52a8e754f90.zip
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.
Diffstat (limited to 'wcsmbs/wchar.h')
-rw-r--r--wcsmbs/wchar.h44
1 files changed, 24 insertions, 20 deletions
diff --git a/wcsmbs/wchar.h b/wcsmbs/wchar.h
index 14da7a1913..570d4a6ce1 100644
--- a/wcsmbs/wchar.h
+++ b/wcsmbs/wchar.h
@@ -236,8 +236,8 @@ extern size_t mbrlen __P ((__const char *__restrict __s, size_t __n,
 #if defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__ \
     && defined __USE_EXTERN_INLINES
 /* Define inline function as optimization.  */
-extern __inline size_t mbrlen (__const char *__restrict __s, size_t __n,
-			       mbstate_t *__restrict __ps)
+extern __inline size_t mbrlen __P ((__const char *__restrict __s, size_t __n,
+				    mbstate_t *__restrict __ps))
 { return (__ps != NULL
 	  ? mbrtowc (NULL, __s, __n, __ps) : __mbrlen (__s, __n, NULL)); }
 #endif
@@ -440,36 +440,40 @@ extern unsigned long long int __wcstoull_internal __P ((__const wchar_t *
 #if defined __OPTIMIZE__ && __GNUC__ >= 2
 /* Define inline functions which call the internal entry points.  */
 
-extern __inline double wcstod (__const wchar_t *__restrict __nptr,
-			       wchar_t **__restrict __endptr)
+extern __inline double wcstod __P ((__const wchar_t *__restrict __nptr,
+				    wchar_t **__restrict __endptr))
 { return __wcstod_internal (__nptr, __endptr, 0); }
-extern __inline long int wcstol (__const wchar_t *__restrict __nptr,
-                                 wchar_t **__restrict __endptr, int __base)
+extern __inline long int wcstol __P ((__const wchar_t *__restrict __nptr,
+				      wchar_t **__restrict __endptr,
+				      int __base))
 { return __wcstol_internal (__nptr, __endptr, __base, 0); }
-extern __inline unsigned long int wcstoul (__const wchar_t *__restrict __nptr,
-                                           wchar_t **__restrict __endptr,
-					   int __base)
+extern __inline unsigned long int wcstoul __P ((__const wchar_t *
+						__restrict __nptr,
+						wchar_t **__restrict __endptr,
+						int __base))
 { return __wcstoul_internal (__nptr, __endptr, __base, 0); }
 
 # ifdef __USE_GNU
-extern __inline float wcstof (__const wchar_t *__restrict __nptr,
-			      wchar_t **__restrict __endptr)
+extern __inline float wcstof __P ((__const wchar_t *__restrict __nptr,
+				   wchar_t **__restrict __endptr))
 { return __wcstof_internal (__nptr, __endptr, 0); }
-extern __inline __long_double_t wcstold (__const wchar_t *__restrict __nptr,
-					 wchar_t **__restrict __endptr)
+extern __inline __long_double_t wcstold __P ((__const wchar_t *
+					      __restrict __nptr,
+					      wchar_t **__restrict __endptr))
 { return __wcstold_internal (__nptr, __endptr, 0); }
 
 
 __extension__
-extern __inline long long int wcstoq (__const wchar_t *__restrict __nptr,
-				      wchar_t **__restrict __endptr,
-				      int __base)
+extern __inline long long int wcstoq __P ((__const wchar_t *__restrict __nptr,
+					   wchar_t **__restrict __endptr,
+					   int __base))
 { return __wcstoll_internal (__nptr, __endptr, __base, 0); }
 __extension__
-extern __inline unsigned long long int wcstouq (__const wchar_t *
-						__restrict __nptr,
-						wchar_t **__restrict __endptr,
-						int __base)
+extern __inline unsigned long long int wcstouq __P ((__const wchar_t *
+						     __restrict __nptr,
+						     wchar_t **
+						     __restrict __endptr,
+						     int __base))
 { return __wcstoull_internal (__nptr, __endptr, __base, 0); }
 # endif /* Use GNU.  */
 #endif /* Optimizing GCC >=2.  */