aboutsummaryrefslogtreecommitdiff
path: root/stdio
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-10-22 14:41:49 +0000
committerUlrich Drepper <drepper@redhat.com>1998-10-22 14:41:49 +0000
commit84c8da0e7be6dc97fd5905c36dbfc71946a31c24 (patch)
treee7125407d5b911e6b8a9486d4c4d67e23d102354 /stdio
parentc7f5a0c7dfb17335d6b6b4ea3185b5f479df774b (diff)
downloadglibc-84c8da0e7be6dc97fd5905c36dbfc71946a31c24.zip
glibc-84c8da0e7be6dc97fd5905c36dbfc71946a31c24.tar.gz
glibc-84c8da0e7be6dc97fd5905c36dbfc71946a31c24.tar.bz2
Update.
1998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de> * stdio/stdio.h: Use __PMT instead of __P in typedefs. * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead of __P for sa_restorer. * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct kernel_sigaction, old_kernel_sigaction): Likewise.
Diffstat (limited to 'stdio')
-rw-r--r--stdio/stdio.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/stdio/stdio.h b/stdio/stdio.h
index 09da2ab..3bbe617 100644
--- a/stdio/stdio.h
+++ b/stdio/stdio.h
@@ -74,8 +74,8 @@ typedef struct
/* Read NBYTES bytes from COOKIE into a buffer pointed to by BUF.
Return number of bytes read. */
-typedef __ssize_t __io_read_fn __P ((__ptr_t __cookie, char *__buf,
- size_t __nbytes));
+typedef __ssize_t __io_read_fn __PMT ((__ptr_t __cookie, char *__buf,
+ size_t __nbytes));
/* Write N bytes pointed to by BUF to COOKIE. Write all N bytes
unless there is an error. Return number of bytes written, or -1 if
@@ -83,7 +83,7 @@ typedef __ssize_t __io_read_fn __P ((__ptr_t __cookie, char *__buf,
opened for append (__mode.__append set), then set the file pointer
to the end of the file and then do the write; if not, just write at
the current file pointer. */
-typedef __ssize_t __io_write_fn __P ((__ptr_t __cookie, __const char *__buf,
+typedef __ssize_t __io_write_fn __PMT ((__ptr_t __cookie, __const char *__buf,
size_t __n));
/* Move COOKIE's file position to *POS bytes from the
@@ -92,14 +92,14 @@ typedef __ssize_t __io_write_fn __P ((__ptr_t __cookie, __const char *__buf,
or the end of the file (if W is SEEK_END).
Set *POS to the new file position.
Returns zero if successful, nonzero if not. */
-typedef int __io_seek_fn __P ((__ptr_t __cookie, fpos_t *__pos, int __w));
+typedef int __io_seek_fn __PMT ((__ptr_t __cookie, fpos_t *__pos, int __w));
/* Close COOKIE. */
-typedef int __io_close_fn __P ((__ptr_t __cookie));
+typedef int __io_close_fn __PMT ((__ptr_t __cookie));
/* Return the file descriptor associated with COOKIE,
or -1 on error. There need not be any associated file descriptor. */
-typedef int __io_fileno_fn __P ((__ptr_t __cookie));
+typedef int __io_fileno_fn __PMT ((__ptr_t __cookie));
#ifdef __USE_GNU
/* User-visible names for the above. */
@@ -139,9 +139,9 @@ typedef struct
typedef struct
{
/* Make room in the input buffer. */
- int (*__input) __P ((FILE *__stream));
+ int (*__input) __PMT ((FILE *__stream));
/* Make room in the output buffer. */
- void (*__output) __P ((FILE *__stream, int __c));
+ void (*__output) __PMT ((FILE *__stream, int __c));
} __room_functions;
extern __const __io_functions __default_io_functions;