aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2008-06-02 15:09:29 +0000
committerPeter Palfrader <peter@palfrader.org>2008-06-02 15:09:29 +0000
commitcfb1f554e27a1279dcb434a28da7a545f0587d1a (patch)
treee05b46cacc224621dc48fc3b4e92d66624e8e166 /src/or/directory.c
parentf1f8bf5d7297a82832b94604e3086a6c43809aa8 (diff)
downloadtor-cfb1f554e27a1279dcb434a28da7a545f0587d1a.tar
tor-cfb1f554e27a1279dcb434a28da7a545f0587d1a.tar.gz
Make note_request() accessible from outside of directory.c
svn:r14899
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 35ed3c544..7ca7692b4 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -57,7 +57,6 @@ static void dir_routerdesc_download_failed(smartlist_t *failed,
int router_purpose,
int was_extrainfo,
int was_descriptor_digests);
-static void note_request(const char *key, size_t bytes);
static void note_client_request(int purpose, int compressed, size_t bytes);
static int client_likes_consensus(networkstatus_t *v, const char *want_url);
@@ -2206,7 +2205,7 @@ note_client_request(int purpose, int compressed, size_t bytes)
/** Called when we just transmitted or received <b>bytes</b> worth of data
* because of a request of type <b>key</b> (an arbitrary identifier): adds
* <b>bytes</b> to the total associated with key. */
-static void
+void
note_request(const char *key, size_t bytes)
{
uint64_t *n;
@@ -2263,7 +2262,7 @@ note_client_request(int purpose, int compressed, size_t bytes)
(void)bytes;
}
-static void
+void
note_request(const char *key, size_t bytes)
{
(void)key;