diff options
author | 2015-09-12 14:56:50 +0000 | |
---|---|---|
committer | 2015-09-12 14:56:50 +0000 | |
commit | 0e3c6306f9e8c62197134dcb9c6f7fdda47b72b8 (patch) | |
tree | 156ca6d3bca87e18d5b8368eb09c65267e4c649a /lib/libc/net/rcmdsh.c | |
parent | Wrap <getopt.h> to make the functions weak and make access to the initialized (diff) | |
download | wireguard-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/rcmdsh.c')
-rw-r--r-- | lib/libc/net/rcmdsh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/net/rcmdsh.c b/lib/libc/net/rcmdsh.c index ab86475c84d..ad3f79ecc56 100644 --- a/lib/libc/net/rcmdsh.c +++ b/lib/libc/net/rcmdsh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcmdsh.c,v 1.14 2015/03/23 22:29:32 halex Exp $ */ +/* $OpenBSD: rcmdsh.c,v 1.15 2015/09/12 14:56:50 guenther Exp $ */ /* * Copyright (c) 2001, MagniComp @@ -181,3 +181,4 @@ rcmdsh(char **ahost, int rport, const char *locuser, const char *remuser, } /* NOTREACHED */ } +DEF_WEAK(rcmdsh); |