diff options
author | 2015-10-04 07:14:48 +0000 | |
---|---|---|
committer | 2015-10-04 07:14:48 +0000 | |
commit | 25f90b54fc586187d792f4d69f508f5b665df1c4 (patch) | |
tree | 344ef44b74e7bf39d7b080a544b72a9cb7df203b /lib/libc/hidden/sys/socket.h | |
parent | __fdnlist() is exported for libkvm, but the internal call can go direct (diff) | |
download | wireguard-openbsd-25f90b54fc586187d792f4d69f508f5b665df1c4.tar.xz wireguard-openbsd-25f90b54fc586187d792f4d69f508f5b665df1c4.zip |
getpeereid() and sockatmark() are neither used in libc nor in ISO C, so mark
them deprecated and weak
Diffstat (limited to 'lib/libc/hidden/sys/socket.h')
-rw-r--r-- | lib/libc/hidden/sys/socket.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/hidden/sys/socket.h b/lib/libc/hidden/sys/socket.h index 1e281c46fa1..9d2227d157c 100644 --- a/lib/libc/hidden/sys/socket.h +++ b/lib/libc/hidden/sys/socket.h @@ -1,4 +1,4 @@ -/* $OpenBSD: socket.h,v 1.1 2015/09/11 15:38:33 guenther Exp $ */ +/* $OpenBSD: socket.h,v 1.2 2015/10/04 07:14:48 guenther Exp $ */ /* * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org> * @@ -21,6 +21,7 @@ #include_next <sys/socket.h> PROTO_NORMAL(bind); +PROTO_DEPRECATED(getpeereid); PROTO_NORMAL(getpeername); PROTO_NORMAL(getrtable); PROTO_NORMAL(getsockname); @@ -29,6 +30,7 @@ PROTO_NORMAL(listen); PROTO_NORMAL(setrtable); PROTO_NORMAL(setsockopt); PROTO_NORMAL(shutdown); +PROTO_DEPRECATED(sockatmark); PROTO_NORMAL(socket); PROTO_NORMAL(socketpair); |