From 4031104404c6ceed5e57134125dcdb6cac51c564 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 5 Jan 2001 10:11:41 +0000 Subject: Internal symbols that aren't static are now prefixed with 'Curl_' --- lib/hostip.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'lib/hostip.c') diff --git a/lib/hostip.c b/lib/hostip.c index f5f492dcf..cb7bc19a5 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -62,7 +62,7 @@ /* --- resolve name or IP-number --- */ -char *MakeIP(unsigned long num,char *addr, int addr_len) +static char *MakeIP(unsigned long num,char *addr, int addr_len) { #if defined(HAVE_INET_NTOA) || defined(HAVE_INET_NTOA_R) struct in_addr in; @@ -83,14 +83,17 @@ char *MakeIP(unsigned long num,char *addr, int addr_len) return (addr); } -/* The original code to this function was stolen from the Dancer source code, - written by Bjorn Reese, it has since been patched and modified. */ +/* The original code to this function was once stolen from the Dancer source + code, written by Bjorn Reese, it has since been patched and modified + considerably. */ + #ifndef INADDR_NONE #define INADDR_NONE (unsigned long) ~0 #endif -struct hostent *GetHost(struct UrlData *data, - char *hostname, - char **bufp) + +struct hostent *Curl_gethost(struct UrlData *data, + char *hostname, + char **bufp) { struct hostent *h = NULL; unsigned long in; -- cgit v1.2.3