diff options
author | guenther <> | 2015-09-12 14:56:50 +0000 |
---|---|---|
committer | guenther <> | 2015-09-12 14:56:50 +0000 |
commit | bb3dc274c59720dc1e231a536edf176cf9687b2e (patch) | |
tree | 6a69eda4ad5fbf1a3d11bcb1b69836678c8514d4 /src/lib/libc/net/rcmdsh.c | |
parent | 816e64a6d2b32b5c4a058d38acc0834a669372c8 (diff) | |
download | openbsd-bb3dc274c59720dc1e231a536edf176cf9687b2e.tar.gz openbsd-bb3dc274c59720dc1e231a536edf176cf9687b2e.tar.bz2 openbsd-bb3dc274c59720dc1e231a536edf176cf9687b2e.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 'src/lib/libc/net/rcmdsh.c')
-rw-r--r-- | src/lib/libc/net/rcmdsh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/net/rcmdsh.c b/src/lib/libc/net/rcmdsh.c index ab86475c84..ad3f79ecc5 100644 --- a/src/lib/libc/net/rcmdsh.c +++ b/src/lib/libc/net/rcmdsh.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rcmdsh.c,v 1.14 2015/03/23 22:29:32 halex Exp $ */ | 1 | /* $OpenBSD: rcmdsh.c,v 1.15 2015/09/12 14:56:50 guenther Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2001, MagniComp | 4 | * Copyright (c) 2001, MagniComp |
@@ -181,3 +181,4 @@ rcmdsh(char **ahost, int rport, const char *locuser, const char *remuser, | |||
181 | } | 181 | } |
182 | /* NOTREACHED */ | 182 | /* NOTREACHED */ |
183 | } | 183 | } |
184 | DEF_WEAK(rcmdsh); | ||