summary refs log tree commit diff
path: root/sysdeps
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 /sysdeps
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 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/bits/socket.h2
-rw-r--r--sysdeps/wordsize-32/inttypes.h14
-rw-r--r--sysdeps/wordsize-64/inttypes.h14
3 files changed, 17 insertions, 13 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h
index e5f4259433..eef389db44 100644
--- a/sysdeps/unix/sysv/linux/bits/socket.h
+++ b/sysdeps/unix/sysv/linux/bits/socket.h
@@ -200,7 +200,7 @@ struct cmsghdr
 extern struct cmsghdr *__cmsg_nxthdr __P ((struct msghdr *__mhdr,
 					   struct cmsghdr *__cmsg));
 _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))
     /* The kernel header does this so there may be a reason.  */
diff --git a/sysdeps/wordsize-32/inttypes.h b/sysdeps/wordsize-32/inttypes.h
index 6144411e24..48c97b3396 100644
--- a/sysdeps/wordsize-32/inttypes.h
+++ b/sysdeps/wordsize-32/inttypes.h
@@ -278,7 +278,8 @@ extern long long int __strtoll_internal __P ((__const char *__restrict __nptr,
 #  define __strtoll_internal_defined	1
 # endif
 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);
 }
@@ -295,7 +296,8 @@ extern unsigned long long int __strtoull_internal __P ((__const char *
 #  define __strtoull_internal_defined	1
 # endif
 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);
 }
@@ -310,8 +312,8 @@ extern long long int __wcstoll_internal __P ((__const wchar_t *
 #  define __wcstoll_internal_defined	1
 # endif
 extern __inline intmax_t
-wcstoimax (__const wchar_t *__restrict nptr, wchar_t **__restrict endptr,
-	   int base)
+wcstoimax __P ((__const wchar_t *__restrict nptr, wchar_t **__restrict endptr,
+		int base))
 {
   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
 # endif
 extern __inline uintmax_t
-wcstoumax (__const wchar_t *__restrict nptr, wchar_t **__restrict endptr,
-	   int base)
+wcstoumax __P ((__const wchar_t *__restrict nptr, wchar_t **__restrict endptr,
+		int base))
 {
   return __wcstoull_internal (nptr, endptr, base, 0);
 }
diff --git a/sysdeps/wordsize-64/inttypes.h b/sysdeps/wordsize-64/inttypes.h
index 61730bbc00..48a7c8fd92 100644
--- a/sysdeps/wordsize-64/inttypes.h
+++ b/sysdeps/wordsize-64/inttypes.h
@@ -277,7 +277,8 @@ extern long int __strtol_internal __P ((__const char *__restrict __nptr,
 #  define __strtol_internal_defined	1
 # endif
 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);
 }
@@ -291,7 +292,8 @@ extern unsigned long int __strtoul_internal __P ((__const char *
 #  define __strtoul_internal_defined	1
 # endif
 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);
 }
@@ -304,8 +306,8 @@ extern long int __wcstol_internal __P ((__const wchar_t * __restrict __nptr,
 #  define __wcstol_internal_defined	1
 # endif
 extern __inline intmax_t
-wcstoimax (__const wchar_t *__restrict nptr, wchar_t **__restrict endptr,
-	   int base)
+wcstoimax __P ((__const wchar_t *__restrict nptr, wchar_t **__restrict endptr,
+		int base))
 {
   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
 # endif
 extern __inline uintmax_t
-wcstoumax (__const wchar_t *__restrict nptr, wchar_t **__restrict endptr,
-	   int base)
+wcstoumax __P ((__const wchar_t *__restrict nptr, wchar_t **__restrict endptr,
+		int base))
 {
   return __wcstoul_internal (nptr, endptr, base, 0);
 }