diff options
Diffstat (limited to 'streams')
-rw-r--r-- | streams/Makefile | 2 | ||||
-rw-r--r-- | streams/fattach.c | 6 | ||||
-rw-r--r-- | streams/fdetach.c | 5 | ||||
-rw-r--r-- | streams/getmsg.c | 8 | ||||
-rw-r--r-- | streams/getpmsg.c | 10 | ||||
-rw-r--r-- | streams/isastream.c | 5 | ||||
-rw-r--r-- | streams/putmsg.c | 9 | ||||
-rw-r--r-- | streams/putpmsg.c | 10 | ||||
-rw-r--r-- | streams/stropts.h | 2 |
9 files changed, 19 insertions, 38 deletions
diff --git a/streams/Makefile b/streams/Makefile index a8a6162fef..78cc5fe64e 100644 --- a/streams/Makefile +++ b/streams/Makefile @@ -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. # The GNU C Library is free software; you can redistribute it and/or diff --git a/streams/fattach.c b/streams/fattach.c index 6a282d89a8..1caad519e9 100644 --- a/streams/fattach.c +++ b/streams/fattach.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. The GNU C Library is free software; you can redistribute it and/or @@ -19,9 +19,7 @@ #include <stropts.h> int -fattach (fildes, path) - int fildes; - const char *path; +fattach (int fildes, const char *path) { __set_errno (ENOSYS); return -1; diff --git a/streams/fdetach.c b/streams/fdetach.c index 09706de30a..05809bcd9e 100644 --- a/streams/fdetach.c +++ b/streams/fdetach.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. The GNU C Library is free software; you can redistribute it and/or @@ -19,8 +19,7 @@ #include <stropts.h> int -fdetach (path) - const char *path; +fdetach (const char *path) { __set_errno (ENOSYS); return -1; diff --git a/streams/getmsg.c b/streams/getmsg.c index 5ca595a998..734cd54681 100644 --- a/streams/getmsg.c +++ b/streams/getmsg.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. The GNU C Library is free software; you can redistribute it and/or @@ -19,11 +19,7 @@ #include <stropts.h> int -getmsg (fildes, ctlptr, dataptr, flagsp) - int fildes; - struct strbuf *ctlptr; - struct strbuf *dataptr; - int *flagsp; +getmsg (int fildes, struct strbuf *ctlptr, struct strbuf *dataptr, int *flagsp) { __set_errno (ENOSYS); return -1; diff --git a/streams/getpmsg.c b/streams/getpmsg.c index 7e8c872423..281c1e46d3 100644 --- a/streams/getpmsg.c +++ b/streams/getpmsg.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. The GNU C Library is free software; you can redistribute it and/or @@ -19,12 +19,8 @@ #include <stropts.h> int -getpmsg (fildes, ctlptr, dataptr, bandp, flagsp) - int fildes; - struct strbuf *ctlptr; - struct strbuf *dataptr; - int *bandp; - int *flagsp; +getpmsg (int fildes, struct strbuf *ctlptr, struct strbuf *dataptr, int *bandp, + int *flagsp) { __set_errno (ENOSYS); return -1; diff --git a/streams/isastream.c b/streams/isastream.c index f8d2b20032..dcb0186ecf 100644 --- a/streams/isastream.c +++ b/streams/isastream.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. The GNU C Library is free software; you can redistribute it and/or @@ -20,8 +20,7 @@ #include <stropts.h> int -isastream (fildes) - int fildes; +isastream (int fildes) { /* In general we do not have a STREAMS implementation and therefore return 0. But for invalid file descriptors we have to return an diff --git a/streams/putmsg.c b/streams/putmsg.c index 9197f7e483..09bb4ff715 100644 --- a/streams/putmsg.c +++ b/streams/putmsg.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. The GNU C Library is free software; you can redistribute it and/or @@ -19,11 +19,8 @@ #include <stropts.h> int -putmsg (fildes, ctlptr, dataptr, flags) - int fildes; - const struct strbuf *ctlptr; - const struct strbuf *dataptr; - int flags; +putmsg (int fildes, const struct strbuf *ctlptr, const struct strbuf *dataptr, + int flags) { __set_errno (ENOSYS); return -1; diff --git a/streams/putpmsg.c b/streams/putpmsg.c index e9fbd0f41a..f883f62555 100644 --- a/streams/putpmsg.c +++ b/streams/putpmsg.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. The GNU C Library is free software; you can redistribute it and/or @@ -19,12 +19,8 @@ #include <stropts.h> int -putpmsg (fildes, ctlptr, dataptr, band, flags) - int fildes; - const struct strbuf *ctlptr; - const struct strbuf *dataptr; - int band; - int flags; +putpmsg (int fildes, const struct strbuf *ctlptr, const struct strbuf *dataptr, + int band, int flags) { __set_errno (ENOSYS); return -1; diff --git a/streams/stropts.h b/streams/stropts.h index 7bdba7ab28..72cc3b7d8e 100644 --- a/streams/stropts.h +++ b/streams/stropts.h @@ -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. The GNU C Library is free software; you can redistribute it and/or |