summaryrefslogtreecommitdiff
path: root/lib/curl_addrinfo.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-03-08 10:47:29 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-03-08 23:21:21 +0100
commit76b63489495ee1d49182a20525d7e6629cbab493 (patch)
tree047b9fbb4e8d6e022fba67adfb5c87c8c27d7083 /lib/curl_addrinfo.h
parent50afa478e1c4c2a640b37d8d9da477de07714d2b (diff)
downloadcurl-76b63489495ee1d49182a20525d7e6629cbab493.tar.gz
memdebug: make debug-specific functions use curl_dbg_ prefix
To not "collide" or use up the regular curl_ name space. Also makes them easier to detect in helper scripts. Closes #3656
Diffstat (limited to 'lib/curl_addrinfo.h')
-rw-r--r--lib/curl_addrinfo.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/lib/curl_addrinfo.h b/lib/curl_addrinfo.h
index 8f6f3d106..205e121ea 100644
--- a/lib/curl_addrinfo.h
+++ b/lib/curl_addrinfo.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -86,17 +86,14 @@ Curl_addrinfo *Curl_unix2addr(const char *path, bool *longpath, bool abstract);
#if defined(CURLDEBUG) && defined(HAVE_GETADDRINFO) && \
defined(HAVE_FREEADDRINFO)
void
-curl_dofreeaddrinfo(struct addrinfo *freethis,
- int line, const char *source);
+curl_dbg_freeaddrinfo(struct addrinfo *freethis, int line, const char *source);
#endif
#if defined(CURLDEBUG) && defined(HAVE_GETADDRINFO)
int
-curl_dogetaddrinfo(const char *hostname,
- const char *service,
- const struct addrinfo *hints,
- struct addrinfo **result,
- int line, const char *source);
+curl_dbg_getaddrinfo(const char *hostname, const char *service,
+ const struct addrinfo *hints, struct addrinfo **result,
+ int line, const char *source);
#endif
#ifdef HAVE_GETADDRINFO