From 9da0482007cada9ff7da4ef2035bb0e7ed2d0ee5 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 25 Jul 2008 14:43:24 +0000 Subject: r17358@pc-10-8-1-079: nickm | 2008-07-25 16:41:03 +0200 Split out the address manipulation functions from compat and util: they were about 21% of the total of those, and spread out too much. svn:r16208 --- src/or/config.c | 3 +++ src/or/or.h | 1 + 2 files changed, 4 insertions(+) (limited to 'src/or') diff --git a/src/or/config.c b/src/or/config.c index 1d4e58d21..bfe2d0322 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -5174,6 +5174,7 @@ getinfo_helper_config(control_connection_t *conn, #include "ht.h" #include "test.h" +extern const char address_c_id[]; extern const char aes_c_id[]; extern const char compat_c_id[]; extern const char container_c_id[]; @@ -5218,6 +5219,7 @@ extern const char routerparse_c_id[]; static void print_svn_version(void) { + puts(ADDRESS_H_ID); puts(AES_H_ID); puts(COMPAT_H_ID); puts(CONTAINER_H_ID); @@ -5229,6 +5231,7 @@ print_svn_version(void) puts(TORINT_H_ID); puts(TORTLS_H_ID); puts(UTIL_H_ID); + puts(address_c_id); puts(aes_c_id); puts(compat_c_id); puts(container_c_id); diff --git a/src/or/or.h b/src/or/or.h index 342a57022..80b384520 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -80,6 +80,7 @@ #include "container.h" #include "util.h" #include "torgzip.h" +#include "address.h" #include -- cgit v1.2.3