summaryrefslogtreecommitdiff
path: root/src/or/nodelist.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2017-05-24 00:43:44 -0400
committerRoger Dingledine <arma@torproject.org>2017-05-24 00:43:44 -0400
commitcabad0b6c70fab61cd92261855d4d15e720cbf1d (patch)
tree780a77a2695639580a3db00ea28d5cc327c33e64 /src/or/nodelist.c
parentaf98b862a51c001efae1eae4f467e0c9b835953e (diff)
downloadtor-cabad0b6c70fab61cd92261855d4d15e720cbf1d.tar.gz
tor-cabad0b6c70fab61cd92261855d4d15e720cbf1d.zip
remove unused node_get_published_on function
in retrospect, we should have removed this with commit 1289474d as part of #11742, which was the last caller of it.
Diffstat (limited to 'src/or/nodelist.c')
-rw-r--r--src/or/nodelist.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c
index e24261b28d..0ef9741243 100644
--- a/src/or/nodelist.c
+++ b/src/or/nodelist.c
@@ -1010,16 +1010,6 @@ node_get_platform(const node_t *node)
return NULL;
}
-/** Return <b>node</b>'s time of publication, or 0 if we don't have one. */
-time_t
-node_get_published_on(const node_t *node)
-{
- if (node->ri)
- return node->ri->cache_info.published_on;
- else
- return 0;
-}
-
/** Return true iff <b>node</b> is one representing this router. */
int
node_is_me(const node_t *node)