mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Make tor_version_same_series non-static
This commit is contained in:
parent
df05e5ef4d
commit
4d0f152aad
@ -572,7 +572,6 @@ static int check_signature_token(const char *digest,
|
|||||||
int flags,
|
int flags,
|
||||||
const char *doctype);
|
const char *doctype);
|
||||||
static crypto_pk_env_t *find_dir_signing_key(const char *str, const char *eos);
|
static crypto_pk_env_t *find_dir_signing_key(const char *str, const char *eos);
|
||||||
static int tor_version_same_series(tor_version_t *a, tor_version_t *b);
|
|
||||||
|
|
||||||
#undef DEBUG_AREA_ALLOC
|
#undef DEBUG_AREA_ALLOC
|
||||||
|
|
||||||
@ -4556,7 +4555,7 @@ tor_version_compare(tor_version_t *a, tor_version_t *b)
|
|||||||
|
|
||||||
/** Return true iff versions <b>a</b> and <b>b</b> belong to the same series.
|
/** Return true iff versions <b>a</b> and <b>b</b> belong to the same series.
|
||||||
*/
|
*/
|
||||||
static int
|
int
|
||||||
tor_version_same_series(tor_version_t *a, tor_version_t *b)
|
tor_version_same_series(tor_version_t *a, tor_version_t *b)
|
||||||
{
|
{
|
||||||
tor_assert(a);
|
tor_assert(a);
|
||||||
|
@ -47,6 +47,7 @@ version_status_t tor_version_is_obsolete(const char *myversion,
|
|||||||
int tor_version_parse(const char *s, tor_version_t *out);
|
int tor_version_parse(const char *s, tor_version_t *out);
|
||||||
int tor_version_as_new_as(const char *platform, const char *cutoff);
|
int tor_version_as_new_as(const char *platform, const char *cutoff);
|
||||||
int tor_version_compare(tor_version_t *a, tor_version_t *b);
|
int tor_version_compare(tor_version_t *a, tor_version_t *b);
|
||||||
|
int tor_version_same_series(tor_version_t *a, tor_version_t *b);
|
||||||
void sort_version_list(smartlist_t *lst, int remove_duplicates);
|
void sort_version_list(smartlist_t *lst, int remove_duplicates);
|
||||||
void assert_addr_policy_ok(smartlist_t *t);
|
void assert_addr_policy_ok(smartlist_t *t);
|
||||||
void dump_distinct_digest_count(int severity);
|
void dump_distinct_digest_count(int severity);
|
||||||
|
Loading…
Reference in New Issue
Block a user