mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-14 07:03:44 +01:00
Make compilation work under gcc-warnings
This commit is contained in:
parent
3b535869a4
commit
598cd4690c
@ -545,7 +545,6 @@ static const config_var_t testing_tor_network_defaults[] = {
|
|||||||
static char *get_windows_conf_root(void);
|
static char *get_windows_conf_root(void);
|
||||||
#endif
|
#endif
|
||||||
static int options_act_reversible(const or_options_t *old_options, char **msg);
|
static int options_act_reversible(const or_options_t *old_options, char **msg);
|
||||||
STATIC int options_act(const or_options_t *old_options);
|
|
||||||
static int options_transition_allowed(const or_options_t *old,
|
static int options_transition_allowed(const or_options_t *old,
|
||||||
const or_options_t *new,
|
const or_options_t *new,
|
||||||
char **msg);
|
char **msg);
|
||||||
|
@ -136,9 +136,9 @@ smartlist_t *get_options_from_transport_options_line(const char *line,
|
|||||||
smartlist_t *get_options_for_server_transport(const char *transport);
|
smartlist_t *get_options_for_server_transport(const char *transport);
|
||||||
|
|
||||||
#ifdef CONFIG_PRIVATE
|
#ifdef CONFIG_PRIVATE
|
||||||
|
STATIC int options_act(const or_options_t *old_options);
|
||||||
#ifdef TOR_UNIT_TESTS
|
#ifdef TOR_UNIT_TESTS
|
||||||
extern struct config_format_t options_format;
|
extern struct config_format_t options_format;
|
||||||
STATIC int options_act(const or_options_t *old_options);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
STATIC void or_options_free(or_options_t *options);
|
STATIC void or_options_free(or_options_t *options);
|
||||||
|
Loading…
Reference in New Issue
Block a user