From 49aba11af7f582002732fb5be8ff42d2a2e14381 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 2 Mar 1998 13:38:59 +0000 Subject: [PATCH] (setsockopt): Make OPTVAL parameter const. --- socket/sys/socket.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/socket/sys/socket.h b/socket/sys/socket.h index f2f912a94e..9bae9682d7 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. -- 2.11.4.GIT