diff options
| author | guenther <> | 2015-10-04 07:17:27 +0000 |
|---|---|---|
| committer | guenther <> | 2015-10-04 07:17:27 +0000 |
| commit | 4c77779233a7741392acb3e84dd1a828b26d95d0 (patch) | |
| tree | 2942b9ab01e369003ffcc1c84d41dc5882fc0ca7 /src/lib/libc/net/send.c | |
| parent | 5bc4f293cb4cd351001b1827dde5e8342d284fbe (diff) | |
| download | openbsd-4c77779233a7741392acb3e84dd1a828b26d95d0.tar.gz openbsd-4c77779233a7741392acb3e84dd1a828b26d95d0.tar.bz2 openbsd-4c77779233a7741392acb3e84dd1a828b26d95d0.zip | |
recv() and send() aren't overriden by libpthread (vs recvfrom() and sendto()!)
so wrap them to make internal calls go direct
Diffstat (limited to 'src/lib/libc/net/send.c')
| -rw-r--r-- | src/lib/libc/net/send.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/net/send.c b/src/lib/libc/net/send.c index 1bfc80b87a..1fad3bd171 100644 --- a/src/lib/libc/net/send.c +++ b/src/lib/libc/net/send.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: send.c,v 1.5 2005/08/06 20:30:04 espie Exp $ */ | 1 | /* $OpenBSD: send.c,v 1.6 2015/10/04 07:17:27 guenther Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 1988, 1993 | 3 | * Copyright (c) 1988, 1993 |
| 4 | * The Regents of the University of California. All rights reserved. | 4 | * The Regents of the University of California. All rights reserved. |
| @@ -38,3 +38,4 @@ send(int s, const void *msg, size_t len, int flags) | |||
| 38 | { | 38 | { |
| 39 | return (sendto(s, msg, len, flags, NULL, 0)); | 39 | return (sendto(s, msg, len, flags, NULL, 0)); |
| 40 | } | 40 | } |
| 41 | DEF_WEAK(send); | ||
