summaryrefslogtreecommitdiff
path: root/streams
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-07 23:57:22 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-07 23:57:22 -0500
commita784e502472fb3a1afa4d01a47c66b52d23e00f6 (patch)
tree5ebaa084119dcffe41671a62e2e799b172c57d24 /streams
parent33808bf1164be2e7c8535bdd5ac398c75c33ed49 (diff)
Remove pre-ISO C support
No more __const.
Diffstat (limited to 'streams')
-rw-r--r--streams/stropts.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/streams/stropts.h b/streams/stropts.h
index 192c09b408..45d6d0dfac 100644
--- a/streams/stropts.h
+++ b/streams/stropts.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 1998-2000, 2002, 2003, 2012 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
@@ -70,22 +70,22 @@ extern int ioctl (int __fd, unsigned long int __request, ...) __THROW;
This function is a cancellation point and therefore not marked with
__THROW. */
-extern int putmsg (int __fildes, __const struct strbuf *__ctlptr,
- __const struct strbuf *__dataptr, int __flags);
+extern int putmsg (int __fildes, const struct strbuf *__ctlptr,
+ const struct strbuf *__dataptr, int __flags);
/* Send a message on a STREAM to the BAND.
This function is a cancellation point and therefore not marked with
__THROW. */
-extern int putpmsg (int __fildes, __const struct strbuf *__ctlptr,
- __const struct strbuf *__dataptr, int __band, int __flags);
+extern int putpmsg (int __fildes, const struct strbuf *__ctlptr,
+ const struct strbuf *__dataptr, int __band, int __flags);
/* Attach a STREAMS-based file descriptor FILDES to a file PATH in the
file system name space. */
-extern int fattach (int __fildes, __const char *__path) __THROW;
+extern int fattach (int __fildes, const char *__path) __THROW;
/* Detach a name PATH from a STREAMS-based file descriptor. */
-extern int fdetach (__const char *__path) __THROW;
+extern int fdetach (const char *__path) __THROW;
__END_DECLS