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/rresvport.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/rresvport.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/net/rresvport.c b/src/lib/libc/net/rresvport.c index 2ecbc0a67d..6b45000f7b 100644 --- a/src/lib/libc/net/rresvport.c +++ b/src/lib/libc/net/rresvport.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: rresvport.c,v 1.10 2015/01/16 16:48:51 deraadt Exp $ */ | 1 | /* $OpenBSD: rresvport.c,v 1.11 2015/09/12 14:56:50 guenther Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 1995, 1996, 1998 Theo de Raadt. All rights reserved. | 3 | * Copyright (c) 1995, 1996, 1998 Theo de Raadt. All rights reserved. |
| 4 | * Copyright (c) 1983, 1993, 1994 | 4 | * Copyright (c) 1983, 1993, 1994 |
| @@ -104,3 +104,4 @@ rresvport_af(int *alport, int af) | |||
| 104 | *alport = ntohs(*portp); | 104 | *alport = ntohs(*portp); |
| 105 | return (s); | 105 | return (s); |
| 106 | } | 106 | } |
| 107 | DEF_WEAK(rresvport_af); | ||
