X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Finet_ntop.c;h=033847a94bd9b645bbcd1838864d0f022ead8e2a;hb=9faf3d43bdbdab2aa0df10f3470208f260d51dcd;hp=8329c827dbc9042eb01912f0e47a21813deacbbf;hpb=9b9036221a0850c4d0698a20c34729453ef173e6;p=gnulib.git diff --git a/lib/inet_ntop.c b/lib/inet_ntop.c index 8329c827d..033847a94 100644 --- a/lib/inet_ntop.c +++ b/lib/inet_ntop.c @@ -1,5 +1,6 @@ /* 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, 2009 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 @@ -32,21 +33,15 @@ * SOFTWARE. */ -#ifdef HAVE_CONFIG_H -# include -#endif +#include /* Specification. */ -#include "inet_ntop.h" +#include #include #include #include -#ifndef EAFNOSUPPORT -# define EAFNOSUPPORT EINVAL -#endif - #define NS_IN6ADDRSZ 16 #define NS_INT16SZ 2