]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(setsockopt): Make OPTVAL parameter const.
authorUlrich Drepper <drepper@redhat.com>
Tue, 24 Mar 1998 10:02:20 +0000 (10:02 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 24 Mar 1998 10:02:20 +0000 (10:02 +0000)
sysdeps/mach/hurd/setsockopt.c

index 4d527696fec3c13fbb71d0880a9129b58f27aa72..8eba00610793f0f2c39e5faf18bf16e9d29a4a82 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1994, 1998 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
@@ -29,7 +29,7 @@ Cambridge, MA 02139, USA.  */
 int
 DEFUN(setsockopt, (fd, level, optname, optval, optlen),
       int fd AND int level AND int optname AND
-      PTR optval AND size_t optlen)
+      CONST PTR optval AND size_t optlen)
 {
   error_t err = HURD_DPORT_USE (fd, __socket_setopt (port,
                                                     level, optname,