From 507c529dc031f6edec07becb62d859a4dcf05ecb Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 16 Sep 2008 18:43:25 +0000 Subject: [PATCH] code cleanup --- ares_init.c | 3 --- nameser.h | 16 +--------------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/ares_init.c b/ares_init.c index 427ee0c..d4e1505 100644 --- a/ares_init.c +++ b/ares_init.c @@ -58,9 +58,6 @@ #ifdef HAVE_UNISTD_H #include #endif -#ifdef HAVE_PROCESS_H -#include /* Some have getpid() here */ -#endif #endif #include diff --git a/nameser.h b/nameser.h index f2b68f1..e28de9a 100644 --- a/nameser.h +++ b/nameser.h @@ -3,21 +3,7 @@ #ifndef ARES_NAMESER_H #define ARES_NAMESER_H -/* Windows-only header file provided by liren@vivisimo.com to make his Windows - port build */ - -#ifndef NETWARE -#include /* for the _getpid() proto */ -#endif /* !NETWARE */ -#include - -#ifndef NETWARE - -#ifndef __WATCOMC__ -#define getpid() _getpid() -#endif - -#endif /* !NETWARE */ +/* header file provided by liren@vivisimo.com */ #define NS_CMPRSFLGS 0xc0 #define NS_IN6ADDRSZ 16