diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-10-04 07:17:28 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-10-04 07:17:28 +0000 |
commit | df6000b5e199793ee64e1b43fb7c2027afc6ae8b (patch) | |
tree | e3a463745158d55e422bf5abcac7f7a7993dd062 /lib/libc/hidden | |
parent | 32487f5fedf88a3fc4e06077b235a0c1916b068e (diff) |
recv() and send() aren't overriden by libpthread (vs recvfrom() and sendto()!)
so wrap them to make internal calls go direct
Diffstat (limited to 'lib/libc/hidden')
-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 9d2227d157c..d262e0f3bac 100644 --- a/lib/libc/hidden/sys/socket.h +++ b/lib/libc/hidden/sys/socket.h @@ -1,4 +1,4 @@ -/* $OpenBSD: socket.h,v 1.2 2015/10/04 07:14:48 guenther Exp $ */ +/* $OpenBSD: socket.h,v 1.3 2015/10/04 07:17:27 guenther Exp $ */ /* * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org> * @@ -27,6 +27,8 @@ PROTO_NORMAL(getrtable); PROTO_NORMAL(getsockname); PROTO_NORMAL(getsockopt); PROTO_NORMAL(listen); +PROTO_NORMAL(recv); +PROTO_NORMAL(send); PROTO_NORMAL(setrtable); PROTO_NORMAL(setsockopt); PROTO_NORMAL(shutdown); |