aboutsummaryrefslogtreecommitdiff
path: root/src/or/onion.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-01-17 14:38:15 -0500
committerNick Mathewson <nickm@torproject.org>2013-01-17 14:42:37 -0500
commit1af89ce540d4cac253169423325bad73fa57f7fd (patch)
treed36b058d23b76ac851092cee4d5ecc9313a9956d /src/or/onion.h
parentae58303d423f4e50032c5610cc479d550fe2bd37 (diff)
downloadtor-1af89ce540d4cac253169423325bad73fa57f7fd.tar
tor-1af89ce540d4cac253169423325bad73fa57f7fd.tar.gz
Fix an MSVC warning in onion.h prototypes
Diffstat (limited to 'src/or/onion.h')
-rw-r--r--src/or/onion.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/onion.h b/src/or/onion.h
index 8b5fb7e3b..db4c999c9 100644
--- a/src/or/onion.h
+++ b/src/or/onion.h
@@ -101,9 +101,9 @@ typedef struct extended_cell_t {
int create_cell_parse(create_cell_t *cell_out, const cell_t *cell_in);
int created_cell_parse(created_cell_t *cell_out, const cell_t *cell_in);
-int extend_cell_parse(extend_cell_t *cell_out, uint8_t command,
+int extend_cell_parse(extend_cell_t *cell_out, const uint8_t command,
const uint8_t *payload_in, size_t payload_len);
-int extended_cell_parse(extended_cell_t *cell_out, uint8_t command,
+int extended_cell_parse(extended_cell_t *cell_out, const uint8_t command,
const uint8_t *payload_in, size_t payload_len);
int create_cell_format(cell_t *cell_out, const create_cell_t *cell_in);