diff options
Diffstat (limited to 'openbsd-compat/bindresvport.c')
-rw-r--r-- | openbsd-compat/bindresvport.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbsd-compat/bindresvport.c b/openbsd-compat/bindresvport.c index 8a273f9b5..7f48fd03a 100644 --- a/openbsd-compat/bindresvport.c +++ b/openbsd-compat/bindresvport.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* This file has be substantially modified from the original OpenBSD source */ | 1 | /* This file has be substantially modified from the original OpenBSD source */ |
2 | 2 | ||
3 | /* $OpenBSD: bindresvport.c,v 1.15 2003/05/20 22:42:35 deraadt Exp $ */ | 3 | /* $OpenBSD: bindresvport.c,v 1.16 2005/04/01 07:44:03 otto Exp $ */ |
4 | 4 | ||
5 | /* | 5 | /* |
6 | * Copyright 1996, Jason Downs. All rights reserved. | 6 | * Copyright 1996, Jason Downs. All rights reserved. |
@@ -28,6 +28,8 @@ | |||
28 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 | */ | 29 | */ |
30 | 30 | ||
31 | /* OPENBSD ORIGINAL: lib/libc/rpc/bindresvport.c */ | ||
32 | |||
31 | #include "includes.h" | 33 | #include "includes.h" |
32 | 34 | ||
33 | #ifndef HAVE_BINDRESVPORT_SA | 35 | #ifndef HAVE_BINDRESVPORT_SA |
@@ -42,9 +44,7 @@ | |||
42 | * Bind a socket to a privileged IP port | 44 | * Bind a socket to a privileged IP port |
43 | */ | 45 | */ |
44 | int | 46 | int |
45 | bindresvport_sa(sd, sa) | 47 | bindresvport_sa(int sd, struct sockaddr *sa) |
46 | int sd; | ||
47 | struct sockaddr *sa; | ||
48 | { | 48 | { |
49 | int error, af; | 49 | int error, af; |
50 | struct sockaddr_storage myaddr; | 50 | struct sockaddr_storage myaddr; |