summaryrefslogtreecommitdiff
path: root/openbsd-compat/fake-rfc2553.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/fake-rfc2553.h')
-rw-r--r--openbsd-compat/fake-rfc2553.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/openbsd-compat/fake-rfc2553.h b/openbsd-compat/fake-rfc2553.h
index 6426f7bf6..f913617fe 100644
--- a/openbsd-compat/fake-rfc2553.h
+++ b/openbsd-compat/fake-rfc2553.h
@@ -1,9 +1,7 @@
1/* $Id: fake-rfc2553.h,v 1.16 2008/07/14 11:37:37 djm Exp $ */
2
3/* 1/*
4 * Copyright (C) 2000-2003 Damien Miller. All rights reserved. 2 * Copyright (C) 2000-2003 Damien Miller. All rights reserved.
5 * Copyright (C) 1999 WIDE Project. All rights reserved. 3 * Copyright (C) 1999 WIDE Project. All rights reserved.
6 * 4 *
7 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
9 * are met: 7 * are met:
@@ -15,7 +13,7 @@
15 * 3. Neither the name of the project nor the names of its contributors 13 * 3. Neither the name of the project nor the names of its contributors
16 * may be used to endorse or promote products derived from this software 14 * may be used to endorse or promote products derived from this software
17 * without specific prior written permission. 15 * without specific prior written permission.
18 * 16 *
19 * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND 17 * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
20 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -47,7 +45,7 @@
47#endif 45#endif
48 46
49/* 47/*
50 * First, socket and INET6 related definitions 48 * First, socket and INET6 related definitions
51 */ 49 */
52#ifndef HAVE_STRUCT_SOCKADDR_STORAGE 50#ifndef HAVE_STRUCT_SOCKADDR_STORAGE
53# define _SS_MAXSIZE 128 /* Implementation specific max size */ 51# define _SS_MAXSIZE 128 /* Implementation specific max size */
@@ -154,7 +152,7 @@ struct addrinfo {
154# undef getaddrinfo 152# undef getaddrinfo
155#endif 153#endif
156#define getaddrinfo(a,b,c,d) (ssh_getaddrinfo(a,b,c,d)) 154#define getaddrinfo(a,b,c,d) (ssh_getaddrinfo(a,b,c,d))
157int getaddrinfo(const char *, const char *, 155int getaddrinfo(const char *, const char *,
158 const struct addrinfo *, struct addrinfo **); 156 const struct addrinfo *, struct addrinfo **);
159#endif /* !HAVE_GETADDRINFO */ 157#endif /* !HAVE_GETADDRINFO */
160 158
@@ -170,7 +168,7 @@ void freeaddrinfo(struct addrinfo *);
170 168
171#ifndef HAVE_GETNAMEINFO 169#ifndef HAVE_GETNAMEINFO
172#define getnameinfo(a,b,c,d,e,f,g) (ssh_getnameinfo(a,b,c,d,e,f,g)) 170#define getnameinfo(a,b,c,d,e,f,g) (ssh_getnameinfo(a,b,c,d,e,f,g))
173int getnameinfo(const struct sockaddr *, size_t, char *, size_t, 171int getnameinfo(const struct sockaddr *, size_t, char *, size_t,
174 char *, size_t, int); 172 char *, size_t, int);
175#endif /* !HAVE_GETNAMEINFO */ 173#endif /* !HAVE_GETNAMEINFO */
176 174