diff options
| author | guenther <> | 2015-09-12 14:56:50 +0000 |
|---|---|---|
| committer | guenther <> | 2015-09-12 14:56:50 +0000 |
| commit | 4dbec400d163cf80f90bc9f4b22a894e932174ec (patch) | |
| tree | 6a69eda4ad5fbf1a3d11bcb1b69836678c8514d4 /src/lib/libc/net/rcmdsh.c | |
| parent | 826dc1247da11df96cbc38b01f5b598633713109 (diff) | |
| download | openbsd-4dbec400d163cf80f90bc9f4b22a894e932174ec.tar.gz openbsd-4dbec400d163cf80f90bc9f4b22a894e932174ec.tar.bz2 openbsd-4dbec400d163cf80f90bc9f4b22a894e932174ec.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 '')
| -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); | ||
