aboutsummaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-10-13 15:12:27 +0000
committerUlrich Drepper <drepper@redhat.com>1998-10-13 15:12:27 +0000
commit99e46354d96d9dc70c7b5ae7ed1a3d7ff0dbb77f (patch)
treecc97f13ce989554a0bd4f67c1fbcb3982e99fac6 /libio
parent1622fda9c034eb332f27453d6458ea6d30b119c0 (diff)
downloadglibc-99e46354d96d9dc70c7b5ae7ed1a3d7ff0dbb77f.tar
glibc-99e46354d96d9dc70c7b5ae7ed1a3d7ff0dbb77f.tar.gz
glibc-99e46354d96d9dc70c7b5ae7ed1a3d7ff0dbb77f.tar.bz2
glibc-99e46354d96d9dc70c7b5ae7ed1a3d7ff0dbb77f.zip
Update.
1998-10-13 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include string.h to get memcpy prototype and NULL definition. 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * misc/sys/cdefs.h (__THROW): New macro. * argp/argp.h: Use it to replace the kludgey __P in inline function definitions. * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. * 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. * io/sys/stat.h: Likewise. 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * Rules (stdio_lim): New variable. ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend on Rules and config.make, use $(move-if-change) to avoid unnessary recompilations, and cleanup command. (common-generated): Add bits/stdio_lim.st.
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 f7677390e5..002cb8baef 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 __P ((__const char *__restrict __fmt, _G_va_list __arg))
+vprintf (__const char *__restrict __fmt, _G_va_list __arg) __THROW
{
return vfprintf (stdout, __fmt, __arg);
}
@@ -366,7 +366,7 @@ extern int getchar __P ((void));
#ifdef __USE_EXTERN_INLINES
__STDIO_INLINE int
-getchar __P ((void))
+getchar (void) __THROW
{
return _IO_getc (stdin);
}
@@ -379,13 +379,13 @@ extern int getchar_unlocked __P ((void));
# ifdef __USE_EXTERN_INLINES
__STDIO_INLINE int
-getc_unlocked __P ((FILE *__fp))
+getc_unlocked (FILE *__fp) __THROW
{
return _IO_getc_unlocked (__fp);
}
__STDIO_INLINE int
-getchar_unlocked __P ((void))
+getchar_unlocked (void) __THROW
{
return _IO_getc_unlocked (stdin);
}
@@ -406,7 +406,7 @@ extern int putchar __P ((int __c));
#ifdef __USE_EXTERN_INLINES
__STDIO_INLINE int
-putchar __P ((int __c))
+putchar (int __c) __THROW
{
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 __P ((int __c, FILE *__stream))
+fputc_unlocked (int __c, FILE *__stream) __THROW
{
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 __P ((int __c, FILE *__stream))
+putc_unlocked (int __c, FILE *__stream) __THROW
{
return _IO_putc_unlocked (__c, __stream);
}
__STDIO_INLINE int
-putchar_unlocked __P ((int __c))
+putchar_unlocked (int __c) __THROW
{
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 __P ((char **__lineptr, size_t *__n, FILE *__stream))
+getline (char **__lineptr, size_t *__n, FILE *__stream) __THROW
{
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 __P ((FILE *__stream))
+feof_unlocked (FILE *__stream) __THROW
{
return _IO_feof_unlocked (__stream);
}
__STDIO_INLINE int
-ferror_unlocked __P ((FILE *__stream))
+ferror_unlocked (FILE *__stream) __THROW
{
return _IO_ferror_unlocked (__stream);
}