summaryrefslogtreecommitdiff
path: root/stdio
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 /stdio
parent3cb0721780482693695c9cba48b0401995c4793d (diff)
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 'stdio')
-rw-r--r--stdio/stdio.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/stdio/stdio.h b/stdio/stdio.h
index c2d2060e33..513b079c47 100644
--- a/stdio/stdio.h
+++ b/stdio/stdio.h
@@ -426,7 +426,7 @@ extern int vsprintf __P ((char *__restrict __s,
#ifdef __OPTIMIZE__
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);
}
@@ -500,17 +500,17 @@ extern int vsscanf __P ((__const char *__s, __const char *__format,
#ifdef __OPTIMIZE__
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);
}
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);
}
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);
}
@@ -542,7 +542,7 @@ extern int getchar __P ((void));
#ifdef __OPTIMIZE__
extern __inline int
-getchar (void)
+getchar __P ((void))
{
return __getc (stdin);
}
@@ -555,13 +555,13 @@ extern int getchar_unlocked __P ((void));
# ifdef __OPTIMIZE__
extern __inline int
-getc_unlocked (FILE *__stream)
+getc_unlocked __P ((FILE *__stream))
{
return __getc (__stream);
}
extern __inline int
-getchar_unlocked (void)
+getchar_unlocked __P ((void))
{
return __getc (stdin);
}
@@ -590,7 +590,7 @@ extern int putchar __P ((int __c));
#ifdef __OPTIMIZE__
extern __inline int
-putchar (int __c)
+putchar __P ((int __c))
{
return __putc (__c, stdout);
}
@@ -602,7 +602,7 @@ extern int fputc_unlocked __P ((int __c, FILE *__stream));
# ifdef __OPTIMIZE__
extern __inline int
-fputc_unlocked (int __c, FILE *__stream)
+fputc_unlocked __P ((int __c, FILE *__stream))
{
return __putc (__c, __stream);
}
@@ -616,13 +616,13 @@ extern int putchar_unlocked __P ((int __c));
# ifdef __OPTIMIZE__
extern __inline int
-putc_unlocked (int __c, FILE *__stream)
+putc_unlocked __P ((int __c, FILE *__stream))
{
return __putc (__c, __stream);
}
extern __inline int
-putchar_unlocked (int __c)
+putchar_unlocked __P ((int __c))
{
return __putc (__c, stdout);
}
@@ -673,7 +673,7 @@ ssize_t getline __P ((char **__lineptr, size_t *__n, FILE *__stream));
#ifdef __OPTIMIZE__
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);
}