From c21184c103a0cce688be440e2ad6c641793ec747 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Fri, 16 Mar 2012 00:48:06 +0100 Subject: [PATCH] test: make variables in benchmark-ares static --- test/benchmark-ares.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/test/benchmark-ares.c b/test/benchmark-ares.c index bfd081de..0c09e175 100644 --- a/test/benchmark-ares.c +++ b/test/benchmark-ares.c @@ -28,15 +28,13 @@ static uv_loop_t* loop; -ares_channel channel; -struct ares_options options; -int optmask; +static ares_channel channel; +static struct ares_options options; +static int optmask; -struct in_addr testsrv; - -int ares_callbacks; -int ares_errors; -int argument; +static int ares_callbacks; +static int ares_errors; +static int argument; #define NUM_CALLS_TO_START 1000