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/rcmd.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/rcmd.c')
-rw-r--r-- | src/lib/libc/net/rcmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/libc/net/rcmd.c b/src/lib/libc/net/rcmd.c index 600565a235..bf68603649 100644 --- a/src/lib/libc/net/rcmd.c +++ b/src/lib/libc/net/rcmd.c | |||
@@ -292,4 +292,5 @@ bad: | |||
292 | sigprocmask(SIG_SETMASK, &oldmask, NULL); | 292 | sigprocmask(SIG_SETMASK, &oldmask, NULL); |
293 | return (-1); | 293 | return (-1); |
294 | } | 294 | } |
295 | DEF_WEAK(rcmd_af); | ||
295 | 296 | ||