X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Finet_ntop.h;h=bd1e085aed9418ee354ae9c8d649b3ead3d0044c;hb=affc2cf6fe78a8d43aba4d07f1ec010e2172ffa8;hp=6a9213396929a9950244f1853a626d12f18ec972;hpb=75e3b3670b7703b47beeeb923cc4f246693dc7d9;p=gnulib.git diff --git a/lib/inet_ntop.h b/lib/inet_ntop.h index 6a9213396..bd1e085ae 100644 --- a/lib/inet_ntop.h +++ b/lib/inet_ntop.h @@ -1,5 +1,5 @@ /* Convert internet address from internal to printable, presentable format. - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 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 @@ -36,6 +36,7 @@ For more details, see the POSIX:2001 specification . */ -#if !HAVE_INET_NTOP /* not already defined and declared in ? */ -extern const char *inet_ntop(int af, const void *src, char *dst, socklen_t cnt); +#if !HAVE_DECL_INET_NTOP +extern const char *inet_ntop (int af, const void *restrict src, + char *restrict dst, socklen_t cnt); #endif