diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-18 23:07:26 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-18 23:07:26 +0200 |
commit | 93f8a2e834eed69aff7ef3be8c2baba14bab0658 (patch) | |
tree | 347b5239f26d3b5f526fffcf7afe151e83124a61 /libc/inet/getaddrinfo.c | |
parent | 21730caa6647f645974e132ca8afec79b4eeab2b (diff) |
convert // comments to /**/; remove empty #if/#endif pairs. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libc/inet/getaddrinfo.c')
-rw-r--r-- | libc/inet/getaddrinfo.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libc/inet/getaddrinfo.c b/libc/inet/getaddrinfo.c index a9fe3c884..b91486f53 100644 --- a/libc/inet/getaddrinfo.c +++ b/libc/inet/getaddrinfo.c @@ -70,9 +70,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include <net/if.h> #include <ifaddrs.h> -#ifdef __UCLIBC_HAS_IPV6__ -#endif - #define GAIH_OKIFUNSPEC 0x0100 #define GAIH_EAI ~(GAIH_OKIFUNSPEC) @@ -638,8 +635,6 @@ gaih_inet(const char *name, const struct gaih_service *service, do { tmpbuflen *= 2; tmpbuf = alloca(tmpbuflen); - //if (tmpbuf == NULL) - // return -EAI_MEMORY; rc = gethostbyaddr_r(at2->addr, ((at2->family == AF_INET6) ? sizeof(struct in6_addr) |