summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/rcmd.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-09-12 14:56:50 +0000
committerguenther <guenther@openbsd.org>2015-09-12 14:56:50 +0000
commit0e3c6306f9e8c62197134dcb9c6f7fdda47b72b8 (patch)
tree156ca6d3bca87e18d5b8368eb09c65267e4c649a /lib/libc/net/rcmd.c
parentWrap <getopt.h> to make the functions weak and make access to the initialized (diff)
downloadwireguard-openbsd-0e3c6306f9e8c62197134dcb9c6f7fdda47b72b8.tar.xz
wireguard-openbsd-0e3c6306f9e8c62197134dcb9c6f7fdda47b72b8.zip
Wrap <unistd.h> so that internal calls go direct and they're all weak symbols
Delete unused 'fd' argument from internal function oldttyname()
Diffstat (limited to 'lib/libc/net/rcmd.c')
-rw-r--r--lib/libc/net/rcmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/net/rcmd.c b/lib/libc/net/rcmd.c
index 600565a2359..bf686036493 100644
--- a/lib/libc/net/rcmd.c
+++ b/lib/libc/net/rcmd.c
@@ -292,4 +292,5 @@ bad:
sigprocmask(SIG_SETMASK, &oldmask, NULL);
return (-1);
}
+DEF_WEAK(rcmd_af);