]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(setsockopt): Make OPTVAL parameter const.
authorUlrich Drepper <drepper@redhat.com>
Mon, 2 Mar 1998 13:38:59 +0000 (13:38 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 2 Mar 1998 13:38:59 +0000 (13:38 +0000)
socket/sys/socket.h

index f2f912a94ec895641bbb836e03e37f303de15aee..9bae9682d78708268dbb7b5f534961501f28a9be 100644 (file)
@@ -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.