X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnulib%2Finet_ntop.c;h=16eb109210e2e59658073c9576096eb9eb8d659a;hb=fd48f3e498442f0cbff5f3606c7c403d0566150e;hp=a49b1e39e2dfbd530d346e82d5a384234af95692;hpb=96f35b20267e8b1a1c846d476f27fcd330e0b018;p=debian%2Famanda diff --git a/gnulib/inet_ntop.c b/gnulib/inet_ntop.c index a49b1e3..16eb109 100644 --- a/gnulib/inet_ntop.c +++ b/gnulib/inet_ntop.c @@ -1,10 +1,10 @@ /* inet_ntop.c -- convert IPv4 and IPv6 addresses from binary to text form - Copyright (C) 2005, 2006 Free Software Foundation, Inc. + Copyright (C) 2005, 2006, 2008 Free Software Foundation, Inc. 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 3, or (at your option) + the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -36,7 +36,7 @@ #include /* Specification. */ -#include "inet_ntop.h" +#include #include #include @@ -70,8 +70,8 @@ static const char *inet_ntop6 (const unsigned char *src, char *dst, socklen_t si * Paul Vixie, 1996. */ const char * -inet_ntop (int af, const void *src, - char *dst, socklen_t cnt) +inet_ntop (int af, const void *restrict src, + char *restrict dst, socklen_t cnt) { switch (af) {