summaryrefslogtreecommitdiff
path: root/openbsd-compat/bindresvport.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/bindresvport.c')
-rw-r--r--openbsd-compat/bindresvport.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/openbsd-compat/bindresvport.c b/openbsd-compat/bindresvport.c
index 1a9000584..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.
@@ -44,9 +44,7 @@
44 * Bind a socket to a privileged IP port 44 * Bind a socket to a privileged IP port
45 */ 45 */
46int 46int
47bindresvport_sa(sd, sa) 47bindresvport_sa(int sd, struct sockaddr *sa)
48 int sd;
49 struct sockaddr *sa;
50{ 48{
51 int error, af; 49 int error, af;
52 struct sockaddr_storage myaddr; 50 struct sockaddr_storage myaddr;