From a784e502472fb3a1afa4d01a47c66b52d23e00f6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 7 Jan 2012 23:57:22 -0500 Subject: Remove pre-ISO C support No more __const. --- streams/stropts.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'streams') 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 -- cgit v1.2.3