aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-05-19 18:35:18 -0700
committerGuy Harris <guy@alum.mit.edu>2018-05-20 02:57:19 +0000
commit72fe02ca8b34a87fc06e6b69aba26fe4158b76b0 (patch)
treeb4fa4f65a361e39f2873a52f6fdbcf260e44f75e
parentfb9e31f0aad30645d42aba886da9e0d8b84c835f (diff)
downloadwireshark-72fe02ca8b34a87fc06e6b69aba26fe4158b76b0.tar.gz
wireshark-72fe02ca8b34a87fc06e6b69aba26fe4158b76b0.tar.bz2
wireshark-72fe02ca8b34a87fc06e6b69aba26fe4158b76b0.zip
Make private variables static.
Change-Id: I0844795597cec83dfb6752fb986d2a9957789530 Reviewed-on: https://code.wireshark.org/review/27657 Reviewed-by: Guy Harris <guy@alum.mit.edu> (cherry picked from commit 724877497a7eab2cb28d5531233e083fcf9ed253) Reviewed-on: https://code.wireshark.org/review/27659
-rw-r--r--epan/addr_resolv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/addr_resolv.c b/epan/addr_resolv.c
index 9306914b9f..9ae7e7ae8d 100644
--- a/epan/addr_resolv.c
+++ b/epan/addr_resolv.c
@@ -350,8 +350,8 @@ static void c_ares_ghba_cb(void *arg, int status, struct hostent *hostent);
static void c_ares_ghba_cb(void *arg, int status, int timeouts _U_, struct hostent *hostent);
#endif
-ares_channel ghba_chan; /* ares_gethostbyaddr -- Usually non-interactive, no timeout */
-ares_channel ghbn_chan; /* ares_gethostbyname -- Usually interactive, timeout */
+static ares_channel ghba_chan; /* ares_gethostbyaddr -- Usually non-interactive, no timeout */
+static ares_channel ghbn_chan; /* ares_gethostbyname -- Usually interactive, timeout */
static gboolean async_dns_initialized = FALSE;
static guint async_dns_in_flight = 0;