summaryrefslogtreecommitdiff
path: root/src/or/config.h
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2011-11-25 17:56:00 +0100
committerSebastian Hahn <sebastian@torproject.org>2011-11-25 17:57:50 +0100
commit75d8ad7320477593655f1ecd0842ed0ef52ed51c (patch)
treeb4af372b8d46c2ed849e002ce54fc792408af977 /src/or/config.h
parent11221d0f17bf3ea6039249ad8b06b3a1afd6291d (diff)
downloadtor-75d8ad7320477593655f1ecd0842ed0ef52ed51c.tar.gz
tor-75d8ad7320477593655f1ecd0842ed0ef52ed51c.zip
Purge ATTR_PURE from the code
We're using it incorrectly in many cases, and it doesn't help as far as we know.
Diffstat (limited to 'src/or/config.h')
-rw-r--r--src/or/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.h b/src/or/config.h
index 76f6841d70..1e4d5678b6 100644
--- a/src/or/config.h
+++ b/src/or/config.h
@@ -29,7 +29,7 @@ setopt_err_t options_trial_assign(config_line_t *list, int use_defaults,
int clear_first, char **msg);
int resolve_my_address(int warn_severity, const or_options_t *options,
uint32_t *addr, char **hostname_out);
-int is_local_addr(const tor_addr_t *addr) ATTR_PURE;
+int is_local_addr(const tor_addr_t *addr);
void options_init(or_options_t *options);
char *options_dump(const or_options_t *options, int minimal);
int options_init_from_torrc(int argc, char **argv);