diff options
Diffstat (limited to 'sysdeps/unix/bsd')
-rw-r--r-- | sysdeps/unix/bsd/bits/signum.h | 2 | ||||
-rw-r--r-- | sysdeps/unix/bsd/bits/sockaddr.h | 2 | ||||
-rw-r--r-- | sysdeps/unix/bsd/ftime.c | 5 | ||||
-rw-r--r-- | sysdeps/unix/bsd/getpt.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/bsd/gtty.c | 6 | ||||
-rw-r--r-- | sysdeps/unix/bsd/stty.c | 6 | ||||
-rw-r--r-- | sysdeps/unix/bsd/tcdrain.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/bsd/tcflow.c | 6 | ||||
-rw-r--r-- | sysdeps/unix/bsd/tcflush.c | 6 | ||||
-rw-r--r-- | sysdeps/unix/bsd/tcgetattr.c | 6 | ||||
-rw-r--r-- | sysdeps/unix/bsd/tcgetpgrp.c | 5 | ||||
-rw-r--r-- | sysdeps/unix/bsd/tcsendbrk.c | 6 | ||||
-rw-r--r-- | sysdeps/unix/bsd/tcsetattr.c | 7 | ||||
-rw-r--r-- | sysdeps/unix/bsd/tcsetpgrp.c | 6 | ||||
-rw-r--r-- | sysdeps/unix/bsd/ualarm.c | 6 | ||||
-rw-r--r-- | sysdeps/unix/bsd/unlockpt.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/bsd/wait.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/bsd/wait3.c | 7 | ||||
-rw-r--r-- | sysdeps/unix/bsd/waitpid.c | 2 |
19 files changed, 31 insertions, 55 deletions
diff --git a/sysdeps/unix/bsd/bits/signum.h b/sysdeps/unix/bsd/bits/signum.h index 7ebe6ef4bb..022007cf8a 100644 --- a/sysdeps/unix/bsd/bits/signum.h +++ b/sysdeps/unix/bsd/bits/signum.h @@ -1,5 +1,5 @@ /* Signal number definitions. BSD version. - Copyright (C) 1991-2015 Free Software Foundation, Inc. + Copyright (C) 1991-2016 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 diff --git a/sysdeps/unix/bsd/bits/sockaddr.h b/sysdeps/unix/bsd/bits/sockaddr.h index 28a59c740a..aa127689bf 100644 --- a/sysdeps/unix/bsd/bits/sockaddr.h +++ b/sysdeps/unix/bsd/bits/sockaddr.h @@ -1,5 +1,5 @@ /* Definition of `struct sockaddr_*' common members. 4.4 BSD version. - Copyright (C) 1995-2015 Free Software Foundation, Inc. + Copyright (C) 1995-2016 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 diff --git a/sysdeps/unix/bsd/ftime.c b/sysdeps/unix/bsd/ftime.c index 20aba7931f..812b32c147 100644 --- a/sysdeps/unix/bsd/ftime.c +++ b/sysdeps/unix/bsd/ftime.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1994-2015 Free Software Foundation, Inc. +/* Copyright (C) 1994-2016 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,8 +19,7 @@ #include <sys/time.h> int -ftime (timebuf) - struct timeb *timebuf; +ftime (struct timeb *timebuf) { struct timeval tv; struct timezone tz; diff --git a/sysdeps/unix/bsd/getpt.c b/sysdeps/unix/bsd/getpt.c index 8cf0c1ed66..118fe63eeb 100644 --- a/sysdeps/unix/bsd/getpt.c +++ b/sysdeps/unix/bsd/getpt.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998-2015 Free Software Foundation, Inc. +/* Copyright (C) 1998-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Zack Weinberg <zack@rabi.phys.columbia.edu>, 1998. diff --git a/sysdeps/unix/bsd/gtty.c b/sysdeps/unix/bsd/gtty.c index 005ec4e0de..60a2063675 100644 --- a/sysdeps/unix/bsd/gtty.c +++ b/sysdeps/unix/bsd/gtty.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2015 Free Software Foundation, Inc. +/* Copyright (C) 1991-2016 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,9 +20,7 @@ /* Fill in *PARAMS with terminal parameters associated with FD. */ int -gtty (fd, params) - int fd; - struct sgttyb *params; +gtty (int fd, struct sgttyb *params) { return ioctl (fd, TIOCGETP, (void *) params); } diff --git a/sysdeps/unix/bsd/stty.c b/sysdeps/unix/bsd/stty.c index 0f434e29a1..0ce8044533 100644 --- a/sysdeps/unix/bsd/stty.c +++ b/sysdeps/unix/bsd/stty.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2015 Free Software Foundation, Inc. +/* Copyright (C) 1991-2016 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,9 +20,7 @@ /* Set the terminal parameters associated with FD to *PARAMS. */ int -stty (fd, params) - int fd; - const struct sgttyb *params; +stty (int fd, const struct sgttyb *params) { return ioctl (fd, TIOCSETP, (void *) params); } diff --git a/sysdeps/unix/bsd/tcdrain.c b/sysdeps/unix/bsd/tcdrain.c index 3973561a3d..547187a0b6 100644 --- a/sysdeps/unix/bsd/tcdrain.c +++ b/sysdeps/unix/bsd/tcdrain.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992-2015 Free Software Foundation, Inc. +/* Copyright (C) 1992-2016 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 diff --git a/sysdeps/unix/bsd/tcflow.c b/sysdeps/unix/bsd/tcflow.c index 5f2f61442f..e2839a3377 100644 --- a/sysdeps/unix/bsd/tcflow.c +++ b/sysdeps/unix/bsd/tcflow.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2015 Free Software Foundation, Inc. +/* Copyright (C) 1991-2016 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 @@ -24,9 +24,7 @@ /* Suspend or restart transmission on FD. */ int -tcflow (fd, action) - int fd; - int action; +tcflow (int fd, int action) { switch (action) { diff --git a/sysdeps/unix/bsd/tcflush.c b/sysdeps/unix/bsd/tcflush.c index 46b4f823b2..a6209bc384 100644 --- a/sysdeps/unix/bsd/tcflush.c +++ b/sysdeps/unix/bsd/tcflush.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2015 Free Software Foundation, Inc. +/* Copyright (C) 1991-2016 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 @@ -24,9 +24,7 @@ /* Flush pending data on FD. */ int -tcflush (fd, queue_selector) - int fd; - int queue_selector; +tcflush (int fd, int queue_selector) { int arg; diff --git a/sysdeps/unix/bsd/tcgetattr.c b/sysdeps/unix/bsd/tcgetattr.c index 03e1d11b12..71d67c8212 100644 --- a/sysdeps/unix/bsd/tcgetattr.c +++ b/sysdeps/unix/bsd/tcgetattr.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2015 Free Software Foundation, Inc. +/* Copyright (C) 1991-2016 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 @@ -30,9 +30,7 @@ /* Put the state of FD into *TERMIOS_P. */ int -__tcgetattr (fd, termios_p) - int fd; - struct termios *termios_p; +__tcgetattr (int fd, struct termios *termios_p) { return __ioctl (fd, TIOCGETA, termios_p); } diff --git a/sysdeps/unix/bsd/tcgetpgrp.c b/sysdeps/unix/bsd/tcgetpgrp.c index ef891fee0f..b3dedce805 100644 --- a/sysdeps/unix/bsd/tcgetpgrp.c +++ b/sysdeps/unix/bsd/tcgetpgrp.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2015 Free Software Foundation, Inc. +/* Copyright (C) 1991-2016 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 @@ -22,8 +22,7 @@ /* Return the foreground process group ID of FD. */ pid_t -tcgetpgrp (fd) - int fd; +tcgetpgrp (int fd) { int pgrp; diff --git a/sysdeps/unix/bsd/tcsendbrk.c b/sysdeps/unix/bsd/tcsendbrk.c index 2035aed76b..533b9d01cb 100644 --- a/sysdeps/unix/bsd/tcsendbrk.c +++ b/sysdeps/unix/bsd/tcsendbrk.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2015 Free Software Foundation, Inc. +/* Copyright (C) 1991-2016 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,9 +27,7 @@ /* Send zero bits on FD. */ int -tcsendbreak (fd, duration) - int fd; - int duration; +tcsendbreak (int fd, int duration) { struct timeval delay; diff --git a/sysdeps/unix/bsd/tcsetattr.c b/sysdeps/unix/bsd/tcsetattr.c index 7c5f6e5829..bf5d992151 100644 --- a/sysdeps/unix/bsd/tcsetattr.c +++ b/sysdeps/unix/bsd/tcsetattr.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992-2015 Free Software Foundation, Inc. +/* Copyright (C) 1992-2016 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 @@ -32,10 +32,7 @@ /* Set the state of FD to *TERMIOS_P. */ int -tcsetattr (fd, optional_actions, termios_p) - int fd; - int optional_actions; - const struct termios *termios_p; +tcsetattr (int fd, int optional_actions, const struct termios *termios_p) { struct termios myt; diff --git a/sysdeps/unix/bsd/tcsetpgrp.c b/sysdeps/unix/bsd/tcsetpgrp.c index a79958c77d..23bd42c141 100644 --- a/sysdeps/unix/bsd/tcsetpgrp.c +++ b/sysdeps/unix/bsd/tcsetpgrp.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2015 Free Software Foundation, Inc. +/* Copyright (C) 1991-2016 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 @@ -22,9 +22,7 @@ /* Set the foreground process group ID of FD set PGRP_ID. */ int -tcsetpgrp (fd, pgrp_id) - int fd; - pid_t pgrp_id; +tcsetpgrp (int fd, pid_t pgrp_id) { return __ioctl (fd, TIOCSPGRP, &pgrp_id); } diff --git a/sysdeps/unix/bsd/ualarm.c b/sysdeps/unix/bsd/ualarm.c index 9f29ba3f8e..92c245cd9d 100644 --- a/sysdeps/unix/bsd/ualarm.c +++ b/sysdeps/unix/bsd/ualarm.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2015 Free Software Foundation, Inc. +/* Copyright (C) 1991-2016 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 @@ -24,9 +24,7 @@ Returns the number of microseconds remaining before the alarm. */ useconds_t -ualarm (value, interval) - useconds_t value; - useconds_t interval; +ualarm (useconds_t value, useconds_t interval) { struct itimerval timer, otimer; diff --git a/sysdeps/unix/bsd/unlockpt.c b/sysdeps/unix/bsd/unlockpt.c index 2ef5c86779..436d8a2c0e 100644 --- a/sysdeps/unix/bsd/unlockpt.c +++ b/sysdeps/unix/bsd/unlockpt.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998-2015 Free Software Foundation, Inc. +/* Copyright (C) 1998-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Zack Weinberg <zack@rabi.phys.columbia.edu>, 1998. diff --git a/sysdeps/unix/bsd/wait.c b/sysdeps/unix/bsd/wait.c index 97ef433c3d..31de60e764 100644 --- a/sysdeps/unix/bsd/wait.c +++ b/sysdeps/unix/bsd/wait.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2015 Free Software Foundation, Inc. +/* Copyright (C) 1991-2016 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 diff --git a/sysdeps/unix/bsd/wait3.c b/sysdeps/unix/bsd/wait3.c index 37df456834..3f95ac7881 100644 --- a/sysdeps/unix/bsd/wait3.c +++ b/sysdeps/unix/bsd/wait3.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2015 Free Software Foundation, Inc. +/* Copyright (C) 1991-2016 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 @@ -25,10 +25,7 @@ there. If the WUNTRACED bit is set in OPTIONS, return status for stopped children; otherwise don't. */ pid_t -__wait3 (stat_loc, options, usage) - __WAIT_STATUS stat_loc; - int options; - struct rusage *usage; +__wait3 (__WAIT_STATUS stat_loc, int options, struct rusage *usage) { return __wait4 (WAIT_ANY, stat_loc, options, usage); } diff --git a/sysdeps/unix/bsd/waitpid.c b/sysdeps/unix/bsd/waitpid.c index d5db5fa390..083c686ad0 100644 --- a/sysdeps/unix/bsd/waitpid.c +++ b/sysdeps/unix/bsd/waitpid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2015 Free Software Foundation, Inc. +/* Copyright (C) 1991-2016 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 |