aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-07-15 08:28:50 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-07-15 08:35:45 +0200
commitb8f889064d02cedc90a109848190207a767a4913 (patch)
tree5eac71ee069a4bc06d77bede7e30018d0139b95e /include
parentba33937be210da5d07f7f01709323743f66011ce (diff)
downloadglibc-b8f889064d02cedc90a109848190207a767a4913.tar
glibc-b8f889064d02cedc90a109848190207a767a4913.tar.gz
glibc-b8f889064d02cedc90a109848190207a767a4913.tar.bz2
glibc-b8f889064d02cedc90a109848190207a767a4913.zip
socket: Add hidden prototype for setsockopt
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/sys/socket.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h
index 38a1f76b3b..a1d749f9fa 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -118,7 +118,8 @@ libc_hidden_proto (__recvmmsg64)
Returns 0 on success, -1 for errors. */
extern int __setsockopt (int __fd, int __level, int __optname,
const void *__optval,
- socklen_t __optlen) attribute_hidden;
+ socklen_t __optlen);
+libc_hidden_proto (__setsockopt)
/* Put the current value for socket FD's option OPTNAME at protocol level LEVEL
into OPTVAL (which is *OPTLEN bytes long), and set *OPTLEN to the value's