X-Git-Url: http://andersk.mit.edu/gitweb/gssapi-openssh.git/blobdiff_plain/0fff78ff85eabb96f2600c7996ab2a6ffd21e706..476861787f6e1b8a6c6af9307a15b9e57cb979dc:/openssh/openbsd-compat/rresvport.c diff --git a/openssh/openbsd-compat/rresvport.c b/openssh/openbsd-compat/rresvport.c index 608a3b1..5b0275c 100644 --- a/openssh/openbsd-compat/rresvport.c +++ b/openssh/openbsd-compat/rresvport.c @@ -1,3 +1,4 @@ +/* $OpenBSD: rresvport.c,v 1.9 2005/11/10 10:00:17 espie Exp $ */ /* * Copyright (c) 1995, 1996, 1998 Theo de Raadt. All rights reserved. * Copyright (c) 1983, 1993, 1994 @@ -28,26 +29,31 @@ * SUCH DAMAGE. */ +/* OPENBSD ORIGINAL: lib/libc/net/rresvport.c */ + #include "includes.h" #ifndef HAVE_RRESVPORT_AF -#if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: rresvport.c,v 1.6 2003/06/03 02:11:35 deraadt Exp $"; -#endif /* LIBC_SCCS and not lint */ +#include +#include -#include "includes.h" +#include +#include + +#include +#include +#include #if 0 int -rresvport(alport) - int *alport; +rresvport(int *alport) { return rresvport_af(alport, AF_INET); } #endif -int +int rresvport_af(int *alport, sa_family_t af) { struct sockaddr_storage ss;