renamed getplatform() to ares__getplatform() to avoid namespace pollution

This commit is contained in:
Yang Tse 2011-03-25 17:57:02 +01:00
parent e49ce8f973
commit 5e5c0132e6
5 changed files with 5 additions and 5 deletions

View File

@ -191,7 +191,7 @@ static int file_lookup(struct ares_addr *addr, struct hostent **host)
PATH_HOSTS[0] = '\0';
platform = getplatform();
platform = ares__getplatform();
if (platform == WIN_NT) {
char tmp[MAX_PATH];

View File

@ -349,7 +349,7 @@ static int file_lookup(const char *name, int family, struct hostent **host)
PATH_HOSTS[0] = '\0';
platform = getplatform();
platform = ares__getplatform();
if (platform == WIN_NT) {
char tmp[MAX_PATH];

View File

@ -717,7 +717,7 @@ DhcpNameServer
goto okay;
}
platform = getplatform();
platform = ares__getplatform();
if (platform == WIN_NT)
{

View File

@ -25,7 +25,7 @@
#define V_PLATFORM_WIN32_NT 2
#define V_PLATFORM_WIN32_CE 3
win_platform getplatform(void)
win_platform ares__getplatform(void)
{
OSVERSIONINFOEX OsvEx;

View File

@ -29,7 +29,7 @@ typedef enum {
WIN_CE
} win_platform;
extern win_platform getplatform(void);
win_platform ares__getplatform(void);
#endif