summary refs log tree commit diff
path: root/libio
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 /libio
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 'libio')
-rw-r--r--libio/stdio.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/libio/stdio.h b/libio/stdio.h
index c800300dce..f7677390e5 100644
--- a/libio/stdio.h
+++ b/libio/stdio.h
@@ -281,7 +281,7 @@ extern int vsprintf __P ((char *__restrict __s,
 
 #ifdef __USE_EXTERN_INLINES
 __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);
 }
@@ -366,7 +366,7 @@ extern int getchar __P ((void));
 
 #ifdef __USE_EXTERN_INLINES
 __STDIO_INLINE int
-getchar (void)
+getchar __P ((void))
 {
   return _IO_getc (stdin);
 }
@@ -379,13 +379,13 @@ extern int getchar_unlocked __P ((void));
 
 # ifdef __USE_EXTERN_INLINES
 __STDIO_INLINE int
-getc_unlocked (FILE *__fp)
+getc_unlocked __P ((FILE *__fp))
 {
   return _IO_getc_unlocked (__fp);
 }
 
 __STDIO_INLINE int
-getchar_unlocked (void)
+getchar_unlocked __P ((void))
 {
   return _IO_getc_unlocked (stdin);
 }
@@ -406,7 +406,7 @@ extern int putchar __P ((int __c));
 
 #ifdef __USE_EXTERN_INLINES
 __STDIO_INLINE int
-putchar (int __c)
+putchar __P ((int __c))
 {
   return _IO_putc (__c, stdout);
 }
@@ -418,7 +418,7 @@ extern int fputc_unlocked __P ((int __c, FILE *__stream));
 
 # ifdef __USE_EXTERN_INLINES
 __STDIO_INLINE int
-fputc_unlocked (int __c, FILE *__stream)
+fputc_unlocked __P ((int __c, FILE *__stream))
 {
   return _IO_putc_unlocked (__c, __stream);
 }
@@ -432,13 +432,13 @@ extern int putchar_unlocked __P ((int __c));
 
 # ifdef __USE_EXTERN_INLINES
 __STDIO_INLINE int
-putc_unlocked (int __c, FILE *__stream)
+putc_unlocked __P ((int __c, FILE *__stream))
 {
   return _IO_putc_unlocked (__c, __stream);
 }
 
 __STDIO_INLINE int
-putchar_unlocked (int __c)
+putchar_unlocked __P ((int __c))
 {
   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
 __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);
 }
@@ -618,13 +618,13 @@ extern int ferror_unlocked __P ((FILE *__stream));
 
 # ifdef __USE_EXTERN_INLINES
 __STDIO_INLINE int
-feof_unlocked (FILE *__stream)
+feof_unlocked __P ((FILE *__stream))
 {
   return _IO_feof_unlocked (__stream);
 }
 
 __STDIO_INLINE int
-ferror_unlocked (FILE *__stream)
+ferror_unlocked __P ((FILE *__stream))
 {
   return _IO_ferror_unlocked (__stream);
 }