X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnulib%2Fgetaddrinfo.h;h=97080976925fb619716d52787016ae5172f77c54;hb=2627875b7d18858bc1f9f7652811e4d8c15a23eb;hp=b4ef242cf1a1f5f1914bf5a5b00ceb45bff4c0b1;hpb=d3b2175e084f88c8736ad7073eacbf4670147aec;p=debian%2Famanda diff --git a/gnulib/getaddrinfo.h b/gnulib/getaddrinfo.h index b4ef242..9708097 100644 --- a/gnulib/getaddrinfo.h +++ b/gnulib/getaddrinfo.h @@ -5,7 +5,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) + the Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -113,10 +113,10 @@ struct addrinfo socket addresses. For more details, see the POSIX:2001 specification . */ -extern int getaddrinfo (const char *restrict nodename, - const char *restrict servname, - const struct addrinfo *restrict hints, - struct addrinfo **restrict res); +extern int getaddrinfo (const char *nodename, + const char *servname, + const struct addrinfo *hints, + struct addrinfo **res); #endif #if !HAVE_DECL_FREEADDRINFO @@ -137,9 +137,9 @@ extern const char *gai_strerror (int ecode); /* Convert socket address to printable node and service names. For more details, see the POSIX:2001 specification . */ -extern int getnameinfo(const struct sockaddr *restrict sa, socklen_t salen, - char *restrict node, socklen_t nodelen, - char *restrict service, socklen_t servicelen, +extern int getnameinfo(const struct sockaddr *sa, socklen_t salen, + char *node, socklen_t nodelen, + char *service, socklen_t servicelen, int flags); #endif