From: Ulrich Drepper Date: Mon, 2 Mar 1998 13:38:59 +0000 (+0000) Subject: (setsockopt): Make OPTVAL parameter const. X-Git-Tag: cvs/before-sparc-2_0_x-branch~173 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49aba11af7f582002732fb5be8ff42d2a2e14381;p=thirdparty%2Fglibc.git (setsockopt): Make OPTVAL parameter const. --- diff --git a/socket/sys/socket.h b/socket/sys/socket.h index f2f912a94ec..9bae9682d78 100644 --- a/socket/sys/socket.h +++ b/socket/sys/socket.h @@ -1,5 +1,5 @@ /* Declarations of socket constants, types, and functions. - Copyright (C) 1991, 92, 94, 95, 96, 97 Free Software Foundation, Inc. + Copyright (C) 1991, 92, 94, 95, 96, 97, 98 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 @@ -160,7 +160,7 @@ extern int getsockopt __P ((int __fd, int __level, int __optname, to *OPTVAL (which is OPTLEN bytes long). Returns 0 on success, -1 for errors. */ extern int setsockopt __P ((int __fd, int __level, int __optname, - __ptr_t __optval, socklen_t __optlen)); + __const __ptr_t __optval, socklen_t __optlen)); /* Prepare to accept connections on socket FD.