]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Remove uses of __P and __PMT.
authorUlrich Drepper <drepper@redhat.com>
Tue, 14 Sep 2004 04:24:52 +0000 (04:24 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 14 Sep 2004 04:24:52 +0000 (04:24 +0000)
30 files changed:
sysdeps/standalone/arm/bits/errno.h
sysdeps/standalone/i386/force_cpu386/_exit.c
sysdeps/standalone/i386/force_cpu386/brdinit.c
sysdeps/standalone/standalone.h
sysdeps/unix/arm/start.c
sysdeps/unix/bsd/sun/m68k/sigtramp.c
sysdeps/unix/bsd/sun/sparc/sigtramp.c
sysdeps/unix/bsd/sun/sunos4/wait4.c
sysdeps/unix/bsd/ultrix4/mips/sigvec.c
sysdeps/unix/bsd/ultrix4/sysconf.c
sysdeps/unix/sysv/irix4/fpathconf.c
sysdeps/unix/sysv/irix4/getgroups.c
sysdeps/unix/sysv/irix4/getpriority.c
sysdeps/unix/sysv/irix4/getrusage.c
sysdeps/unix/sysv/irix4/pathconf.c
sysdeps/unix/sysv/irix4/setgroups.c
sysdeps/unix/sysv/irix4/sigtramp.c
sysdeps/unix/sysv/irix4/start.c
sysdeps/unix/sysv/irix4/sysconf.c
sysdeps/unix/sysv/sco3.2.4/__setpgid.c
sysdeps/unix/sysv/sco3.2.4/getgroups.c
sysdeps/unix/sysv/sysv4/__getpgid.c
sysdeps/unix/sysv/sysv4/__setpgid.c
sysdeps/unix/sysv/sysv4/getpgid.c
sysdeps/unix/sysv/sysv4/sethostname.c
sysdeps/unix/sysv/sysv4/setpgid.c
sysdeps/unix/sysv/sysv4/setsid.c
sysdeps/unix/sysv/sysv4/solaris2/getdents.c
sysdeps/unix/sysv/sysv4/sysconf.c
sysdeps/unix/sysv/sysv4/waitpid.c

index d7db91db8956f36e38c11a575cf6e1c6f811a8be..8e10754330d042da21b26518938165ce1c71702d 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1994, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1994,1996,1997,1998,2004 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
@@ -62,4 +62,4 @@
 
 
 /* Function to get address of global `errno' variable.  */
-extern int *__errno_location __P ((void)) __attribute__ ((__const__));
+extern int *__errno_location (void) __THROW __attribute__ ((__const__));
index 2b1d090fa8e31f19e353118e3124a1c1a33741a6..2da822e99b90d48c38cff4d7eb857d4f78467fb5 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1997, 1999, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Joel Sherrill (jsherril@redstone-emh2.army.mil),
      On-Line Applications Research Corporation.
@@ -23,7 +23,7 @@
 
 /* This returns control to FORCEbug. */
 
-void Bsp_cleanup __P ((void));
+void Bsp_cleanup (void);
 
 /* The function `_exit' should take a status argument and simply
    terminate program execution, using the low-order 8 bits of the
index e94dc35f6392dabdec2adb0ee16b6b021c9db4a5..8392ce58571074857f0043fe602fa2e732b68dfa 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1997, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Joel Sherrill (jsherril@redstone-emh2.army.mil),
      On-Line Applications Research Corporation.
@@ -25,7 +25,7 @@
 
 This routine initializes the FORCE CPU386 board.  */
 
-void _Console_Initialize __P ((void));
+void _Console_Initialize (void);
 
 void
 _Board_Initialize ()
index 4a881991a76e824374fb0bf6010afbd049cffdde..20a0c338066957edcaca902f6e4aac8ca3355933 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1997, 2004 Free Software Foundation, Inc.
    Contributed by Joel Sherrill (jsherril@redstone-emh2.army.mil),
      On-Line Applications Research Corporation.
    This file is part of the GNU C Library.
@@ -23,9 +23,9 @@
 
 #include <sys/cdefs.h>
 
-extern void _Board_Initialize __P ((void));
+extern void _Board_Initialize (void);
 
-extern int _Console_Putc __P ((char c));
-extern int _Console_Getc __P ((int poll));
+extern int _Console_Putc (char c);
+extern int _Console_Getc (int poll);
 
 #endif
index 8e291cc60f256c2166606e3d11555a958be32c35..6bf08b1d7f8645287485ac954a390af9dfedfc2b 100644 (file)
@@ -1,5 +1,5 @@
 /* Special startup code for ARM a.out binaries.
-   Copyright (C) 1998 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2004 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
@@ -45,8 +45,8 @@ int __data_start = 0;
 weak_alias (__data_start, data_start)
 #endif
 
-extern void __libc_init __P ((int argc, char **argv, char **envp));
-extern int main __P ((int argc, char **argv, char **envp));
+extern void __libc_init (int argc, char **argv, char **envp);
+extern int main (int argc, char **argv, char **envp);
 
 /* N.B.: It is important that this be the first function.
    This file is the first thing in the text section.  */
index bb10848bebea290fe86ce7ad389794954a083207..5a3ca3cf10cbcfff9cdd042505db633f26ec49d9 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1996, 1997, 2004 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
@@ -82,8 +82,8 @@ trampoline (sig, code, context, addr)
   /* XXX should save/restore FP regs */
 
   /* Call the user's handler.  */
-  (*((void (*) __P ((int sig, int code, struct sigcontext *context,
-                      PTR addr))) handlers[sig]))
+  (*((void (*) (int sig, int code, struct sigcontext *context,
+               PTR addr)) handlers[sig]))
     (sig, code, context, addr);
 
   /* Restore the call-clobbered registers.  */
index 2b0be13159275bb054ba3ba1cd6db71d5159703b..e11f7e51d35d4277b6564888f6b48178d381b91b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1994, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1992,1994,1996,1997,2004 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
@@ -50,8 +50,8 @@
 #include <errno.h>
 
 /* Defined in __sigvec.S.  */
-extern int __raw_sigvec __P ((int sig, CONST struct sigvec *vec,
-                             struct sigvec *ovec));
+extern int __raw_sigvec (int sig, CONST struct sigvec *vec,
+                        struct sigvec *ovec);
 
 /* User-specified signal handlers.  */
 #define mytramp 1
@@ -146,8 +146,8 @@ trampoline (sig)
   glsave[2] = g6;
 
   /* Call the user's handler.  */
-  (*((void (*) __P ((int sig, int code, struct sigcontext *context,
-                    void *addr))) handlers[sig]))
+  (*((void (*) (int sig, int code, struct sigcontext *context,
+               void *addr)) handlers[sig]))
     (sig, code, context, addr);
 
   /* Restore the Y register.  */
index a12823467d83f951af9f6eea2d34fd11145ab1a2..097c15e7d9d9f002a0b968f6e465500bf66a276d 100644 (file)
@@ -1,7 +1,7 @@
 /* This implements wait4 with the 4.4 BSD semantics (also those documented in
    SunOS 4.1) on top of SunOS's wait4 system call, which has semantics
    different from those documented.  Go Sun!
-   Copyright (C) 1991, 1992, 1993, 1995, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1991,1992,1993,1995,1997,2004 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
@@ -23,8 +23,8 @@
 #include <sys/wait.h>
 #include <unistd.h>
 
-extern pid_t __wait4_syscall __P ((pid_t pid, __WAIT_STATUS_DEFN stat_loc,
-                                  int options, struct rusage *usage));
+extern pid_t __wait4_syscall (pid_t pid, __WAIT_STATUS_DEFN stat_loc,
+                             int options, struct rusage *usage);
 
 pid_t
 __wait4 (pid, stat_loc, options, usage)
index f6c8f1fe953001e335e0722afc8bd45a437165b4..5775c9adb9d331a6cfa6ddc51074a2a9279e2bfd 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1996, 1997, 2004 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
 /* The user's signal handler is called with three arguments.  */
 typedef void (*handler_type) (int sig, int code, struct sigcontext *);
 
-extern int __raw_sigvec __P ((int sig, CONST struct sigvec *vec,
-                            struct sigvec *ovec,
-                            void (*)(int sig, int code,
-                                     struct sigcontext *,
-                                     handler_type)));
+extern int __raw_sigvec (int sig, CONST struct sigvec *vec,
+                        struct sigvec *ovec,
+                        void (*)(int sig, int code,
+                                 struct sigcontext *,
+                                 handler_type));
 
-extern void __handler __P ((int sig, int code,
-                           struct sigcontext *,
-                           handler_type));
+extern void __handler (int sig, int code,
+                      struct sigcontext *,
+                      handler_type);
 
 int
 __sigvec (sig, vec, ovec)
index 39e77301b0e0be65f1a9bb1b51fc19e823bd514f..0982fc832db657cf052487402b0d1ca29feb35a0 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995, 1996, 1997, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ian Lance Taylor (ian@airs.com).
 
@@ -27,9 +27,9 @@
 /* This is an Ultrix header file.  */
 #include <sys/sysinfo.h>
 
-extern int __getsysinfo __P ((unsigned int op, void *buffer,
-                             size_t nbytes, int *start, void *arg));
-extern long int __default_sysconf __P ((int name));
+extern int __getsysinfo (unsigned int op, void *buffer,
+                        size_t nbytes, int *start, void *arg);
+extern long int __default_sysconf (int name);
 
 long int
 __sysconf (name)
index dbee0bbe0a66a9314050956ecf95c3e40281ffb8..236eb1a6bce8a28baea6e99561e52d9b26daab63 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995, 1997, 2004 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
@@ -21,7 +21,7 @@
 #include <unistd.h>
 #include <sys/syssgi.h>
 
-extern int __syssgi __P ((int, ...));
+extern int __syssgi (int, ...);
 
 /* Get file-specific information about descriptor FD.  */
 long int
index 520805314b19afb66ceba4429c4ccdd28375e0f6..4c859eac83e018cf3908d423ccde79b3d1395f72 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995, 1997, 2004 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
@@ -20,7 +20,7 @@
 #include <sys/types.h>
 #include <grp.h>
 
-extern int __syssgi __P ((int, ...));
+extern int __syssgi (int, ...);
 
 /* Set the group set for the current user to GROUPS (N of them).  */
 int
index baf945e54c41935c0afba0291d1b6250385012bc..807ac2fba70bba6f055d4affa3cd97e79dbd5fe6 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994,96,97,2000,02 Free Software Foundation, Inc.
+/* Copyright (C) 1994,96,97,2000,02, 2004 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
@@ -20,7 +20,7 @@
 #include <sys/resource.h>
 #include <sys/sysmp.h>
 
-extern int __sysmp __P ((int, ...));
+extern int __sysmp (int, ...);
 
 /* Return the highest priority of any process specified by WHICH and WHO
    (see <sys/resource.h>); if WHO is zero, the current process, process group,
index 8d0c4008c91a35ef2bf170fd740b59f5611ae576..3cabbdf3e21aece533b1939521838f9c3427b047 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995, 1997, 2004 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
@@ -20,7 +20,7 @@
 #include <errno.h>
 #include <sys/syssgi.h>
 
-extern int __syssgi __P ((int, ...));
+extern int __syssgi (int, ...);
 
 /* Return resource usage information on process indicated by WHO
    and put it in *USAGE.  Returns 0 for success, -1 for failure.  */
index 7439c7315762a03ecb2483754f928a03d9e44421..51da0c5635e31f37fa60907230a4575c0b8ffd11 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995, 1997, 2004 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
@@ -21,7 +21,7 @@
 #include <unistd.h>
 #include <sys/syssgi.h>
 
-extern int __syssgi __P ((int, ...));
+extern int __syssgi (int, ...);
 
 /* Get file-specific information about PATH.  */
 long int
index 8f5b379ac57a115da1821108cf02c2090381dd91..cca816bcffb41126d4851c44aa77c12ca6bee527 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994,97,2002 Free Software Foundation, Inc.
+/* Copyright (C) 1994,97,2002, 2004 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
@@ -20,7 +20,7 @@
 #include <sys/types.h>
 #include <grp.h>
 
-extern int __syssgi __P ((int, ...));
+extern int __syssgi (int, ...);
 
 /* Set the group set for the current user to GROUPS (N of them).  */
 int
index d6cfd3391571399aa8f37d38351ef771b879a455..f8de75a7cd0015bcb45ed58e886a7b3d73615913 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1997, 2004 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
 typedef void (*handler_type) (int sig, int code, struct sigcontext *);
 
 /* Defined in signal.S.  */
-extern __sighandler_t __raw_signal __P((int sig, __sighandler_t func,
-                                       void (*)(int sig, int code,
-                                                struct sigcontext *,
-                                                handler_type)));
-
-extern void __handler __P((int sig, int code,
-                          struct sigcontext *,
-                          handler_type));
+extern __sighandler_t __raw_signal (int sig, __sighandler_t func,
+                                   void (*)(int sig, int code,
+                                            struct sigcontext *,
+                                            handler_type));
+
+extern void __handler (int sig, int code, struct sigcontext *,
+                      handler_type);
 
 __sighandler_t
 signal (sig, func)
index 6b4b00a66fde97acf9530b645e0b4836d25f8341..fdda8809e670b2bedf1e7c3b3212cc7396d4daaf 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1992,1995,1996,1997,2004 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
@@ -44,8 +44,8 @@
 /* The first piece of initialized data.  */
 int __data_start = 0;
 
-extern void __libc_init __P ((int argc, char **argv, char **envp));
-extern int main __P ((int argc, char **argv, char **envp));
+extern void __libc_init (int argc, char **argv, char **envp);
+extern int main (int argc, char **argv, char **envp);
 
 /* Use the stack pointer to access the arguments.  This assumes that
    we can guess how big the frame will be.  */
index 2f89491fdab46f2210f9ffe675129e741ce0bcb3..ef7606edad9c8a505974a8159b5a989da4d009de 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1995, 1997, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995, 1997, 2002, 2004 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
@@ -19,7 +19,7 @@
 #include <unistd.h>
 #include <sys/syssgi.h>
 
-extern int __syssgi __P ((int, ...));
+extern int __syssgi ((int, ...);
 
 /* Get the value of the system variable NAME.  */
 long int
index e58f22e7a92d2d710bbdab2ceb22bac3282b21c8..d51fa602c9d8d1513d73fa067aa192f6ae9385fb 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1997, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1997, 2002, 2004 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
@@ -20,7 +20,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 
-extern int __pgrpsys __P ((int type, ...));
+extern int __pgrpsys (int type, ...);
 
 /* Get the process group ID of process PID.  */
 int
index ef27df2a767e8b27cdf5be0edfcc01d81a891ac7..2aac40bddd2b73221d258551631d3182af5c64be 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995, 1997, 2004 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
@@ -21,7 +21,7 @@
 #include <limits.h>
 #include <alloca.h>
 
-extern int __sco_getgroups __P ((int size, unsigned short int *list));
+extern int __sco_getgroups (int size, unsigned short int *list);
 
 int
 __getgroups (size, list)
index ea9a23876c4d26298f2e6dd82b9f618bf7b53b99..74ca3e0f9a7da3cdb0ae8f8d7c68a275188a4ea0 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1997, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1997, 2002, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
@@ -21,7 +21,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 
-extern int __pgrpsys __P ((int type, ...));
+extern int __pgrpsys (int type, ...);
 
 /* Get the process group ID of process PID.  */
 int
index ac096a4516a2ba94028167fb713be32b36fa20be..36ad5cc77b071d2a028db657bff8bcd5b4f54e23 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1997, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1997, 2002, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
@@ -21,7 +21,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 
-extern int __pgrpsys __P ((int type, ...));
+extern int __pgrpsys (int type, ...);
 
 /* Get the process group ID of process PID.  */
 int
index 39fb728d1b586bcb73ff98f50ee68500b6a97ca4..95f96417cc7e4d77fbe8e08dd329fd7334f1e893 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1995, 1997, 1999, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1993,1995,1997,1999,2002,2004 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
@@ -19,7 +19,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 
-extern pid_t __pgrpsys __P ((int type, ...));
+extern pid_t __pgrpsys (int type, ...);
 
 /* Get the process group ID of process PID.  */
 pid_t
index f4e7b4e936b7b7ebf7eeac83e2400a8f8289987b..d74b0f4f3baf5845c1a8ebb10420b2e1585de1ee 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1997, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
@@ -22,7 +22,7 @@
 #include <sys/types.h>
 #include <sys/systeminfo.h>
 
-extern int __sysinfo __P ((int command, const char *buf, long count));
+extern int __sysinfo (int command, const char *buf, long count);
 
 int
 sethostname (name, namelen)
index 1ffb182d4a7ec341c4cb8939927b8492557f5120..80f4ad643071b274f5ef28a34f94c37c76ea4453 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993,1995,1996,1997,1999,2002 Free Software Foundation, Inc.
+/* Copyright (C) 1993,1995-1997,1999,2002,2004 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
@@ -19,7 +19,7 @@
 #include <errno.h>
 #include <unistd.h>
 
-extern int __pgrpsys __P ((pid_t type, ...));
+extern int __pgrpsys (pid_t type, ...);
 
 /* Set the process group ID of the process matching PID to PGID.
    If PID is zero, the current process's process group ID is set.
index 44cbaf07cb59ad39c85d74e0cebd09bcd4dd01b1..faa2c42d7dd5f00db92ee8cba51617a416b70557 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1995, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995, 1997, 1999, 2004 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
@@ -19,7 +19,7 @@
 #include <errno.h>
 #include <unistd.h>
 
-extern pid_t __pgrpsys __P ((int type, ...));
+extern pid_t __pgrpsys (int type, ...);
 
 /* Create a new session with the calling process as its leader.
    The process group IDs of the session and the calling process
index 86272455426d2e1116968563ce00ee7c72da1d0e..ab782ffaacdda080187481631c2a133691034941 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993,95,96,97,98 Free Software Foundation, Inc.
+/* Copyright (C) 1993,95,96,97,98, 2004 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
@@ -27,7 +27,7 @@
 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
 
 
-extern int __getdents __P ((int fd, char *buf, size_t nbytes));
+extern int __getdents (int fd, char *buf, size_t nbytes);
 
 /* For Solaris we need a special version of this file since the
    definition of `struct dirent' is not the same for the kernel and
index d8ffafcc4198615e0004af0201467f536df4c8d8..bfe7823c4c3bd1361182532e07fa52a7543b5dc9 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1993,1995,1996,1997,2002,2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
@@ -24,7 +24,7 @@
 #include <time.h>
 #include <sysconfig.h>
 
-extern int __sysconfig __P ((int));
+extern int __sysconfig (int);
 
 /* Get the value of the system variable NAME.  */
 long int
index f4700c6cd143607a4c598c70ee1f68f3552b072d..23f9ceb0291ad6277563408fe6374393c8267e43 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993,94,95,96,97,2002 Free Software Foundation, Inc.
+/* Copyright (C) 1993,94,95,96,97,2002,2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
@@ -35,9 +35,9 @@ typedef enum __idtype
     P_ALL = 7,
   } __idtype_t;
 
-extern __pid_t __getpgid __P ((__pid_t pid));
-extern int __waitid __P ((__idtype_t idtype, __pid_t id,
-                         __siginfo_t *infop, int options));
+extern __pid_t __getpgid (__pid_t pid);
+extern int __waitid (__idtype_t idtype, __pid_t id,
+                    __siginfo_t *infop, int options);
 
 /* Wait for a child matching PID to die.
    If PID is greater than 0, match any process whose process ID is PID.