diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-05-14 13:05:00 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-05-14 13:05:36 -0400 |
commit | 43e15300bad6dd2618f331d51a1b3f83c2326d4e (patch) | |
tree | 35409354b6d8103fb368b54b58f988146c3d3974 /src/or/connection_edge.h | |
parent | 757725ffdef0aa64a5a4a642eb08c10ec8f0ae4d (diff) | |
download | tor-43e15300bad6dd2618f331d51a1b3f83c2326d4e.tar.gz tor-43e15300bad6dd2618f331d51a1b3f83c2326d4e.zip |
MSVC build issue: make 'const' in declaration match 'const' in definition
MSVC warns if you declare a function as having a "int foo" argument
and then implement it with a "const int foo" argument, even though
the latter "const" is not a part of the function's interface.
Diffstat (limited to 'src/or/connection_edge.h')
-rw-r--r-- | src/or/connection_edge.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection_edge.h b/src/or/connection_edge.h index 47c9c45b1a..f6db4b4ef9 100644 --- a/src/or/connection_edge.h +++ b/src/or/connection_edge.h @@ -79,7 +79,8 @@ int addressmap_have_mapping(const char *address, int update_timeout); void addressmap_register(const char *address, char *new_address, time_t expires, addressmap_entry_source_t source, - int address_wildcard, int new_address_wildcard); + const int address_wildcard, + const int new_address_wildcard); int parse_virtual_addr_network(const char *val, int validate_only, char **msg); int client_dns_incr_failures(const char *address); |