aboutsummaryrefslogtreecommitdiff
path: root/src/tools/tor-resolve.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-05-15 21:17:48 +0000
committerNick Mathewson <nickm@torproject.org>2007-05-15 21:17:48 +0000
commite043b86f47185e0d9df53dab12d42e46c8c35b83 (patch)
tree0ebfb1bbce0fbcfa7d6e470b98d5bf90e9889a02 /src/tools/tor-resolve.c
parentbfdc366037690c74d1e6b73fc33e2f73842ed793 (diff)
downloadtor-e043b86f47185e0d9df53dab12d42e46c8c35b83.tar.gz
tor-e043b86f47185e0d9df53dab12d42e46c8c35b83.zip
r12764@catbus: nickm | 2007-05-15 17:17:39 -0400
Enable (and cope with) more GCC 4.2 warnings. svn:r10196
Diffstat (limited to 'src/tools/tor-resolve.c')
-rw-r--r--src/tools/tor-resolve.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/tor-resolve.c b/src/tools/tor-resolve.c
index 71639140f8..328c74e4c9 100644
--- a/src/tools/tor-resolve.c
+++ b/src/tools/tor-resolve.c
@@ -44,6 +44,8 @@
do { log_fn(LOG_ERR, LD_NET, "Error while %s: %s", act, \
tor_socket_strerror(tor_socket_errno(_s))); } while (0)
+static void usage(void) ATTR_NORETURN;
+
/** Set *<b>out</b> to a newly allocated SOCKS4a resolve request with
* <b>username</b> and <b>hostname</b> as provided. Return the number
* of bytes in the request. */