]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 22 Oct 1998 14:41:49 +0000 (14:41 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 22 Oct 1998 14:41:49 +0000 (14:41 +0000)
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.

ChangeLog
stdio/stdio.h
sysdeps/unix/sysv/linux/kernel_sigaction.h
sysdeps/unix/sysv/linux/mips/bits/sigaction.h
sysdeps/unix/sysv/linux/sparc/bits/sigaction.h

index e3a172509e80540b2749e8a83810cf7f242c3ecc..d263d504bb6357fd9a8c79bbc4310a2d7b364455 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+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.
+
 1998-10-22  Ulrich Drepper  <drepper@cygnus.com>
 
        * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
index 09da2abf485d43f1bba291e98aab55f122dea410..3bbe617aa23ef5b9d2b7ad9319e0fdeacfe2f5cb 100644 (file)
@@ -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;
index 1ce2be20a1b18cc82bb3ab2bd7de703e25543b8a..1cbe0a1bd855cd0b79ad2321e4802a7f5e13b1f9 100644 (file)
@@ -6,7 +6,7 @@ struct old_kernel_sigaction {
        __sighandler_t k_sa_handler;
        unsigned long sa_mask;
        unsigned long sa_flags;
-       void (*sa_restorer) __P ((void));
+       void (*sa_restorer) __PMT ((void));
 };
 
 /* This is the sigaction structure from the Linux 2.1.68 kernel.  */
@@ -14,6 +14,6 @@ struct old_kernel_sigaction {
 struct kernel_sigaction {
        __sighandler_t k_sa_handler;
        unsigned long sa_flags;
-       void (*sa_restorer) __P ((void));
+       void (*sa_restorer) __PMT ((void));
        sigset_t sa_mask;
 };
index 7f72406e0136723c873023b29ce14731cec35393..435f8e00f672c4ac38f208b5ca48ab8eef3af11c 100644 (file)
@@ -1,5 +1,5 @@
 /* The proper definitions for Linux/MIPS's sigaction.
-   Copyright (C) 1993, 1994, 1995, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1993, 1994, 1995, 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -35,7 +35,7 @@ struct sigaction
 
     /* The ABI says here are two unused ints following. */
     /* Restore handler.  */
-    void (*sa_restorer) __P ((void));
+    void (*sa_restorer) __PMT ((void));
 
 #if _MIPS_ISA == _MIPS_ISA_MIPS1 || _MIPS_ISA == _MIPS_ISA_MIPS2
     int sa_resv[1];
index 651b526a40ba4754751e1bc98981f5e2941041e4..0797a5cbf4f39988e5015a131cd0b1baaaa46382 100644 (file)
@@ -1,5 +1,5 @@
 /* The proper definitions for Linux/SPARC sigaction.
-   Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -34,7 +34,7 @@ struct sigaction
     unsigned long sa_flags;
 
     /* Not used by Linux/Sparc yet.  */
-    void (*sa_restorer) __P ((void));
+    void (*sa_restorer) __PMT ((void));
   };