aboutsummaryrefslogtreecommitdiff
path: root/src/common/container.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-08-13 22:14:14 -0400
committerNick Mathewson <nickm@torproject.org>2015-08-13 22:14:14 -0400
commit216bde38e0cb281ca919a1429da0e542fad67612 (patch)
tree0ae913dbd80e4da46e59b8a2e4a325f5ba4b9776 /src/common/container.h
parent0b3fe6272e55ff41e343ba5862ded6f0324f68b9 (diff)
downloadtor-216bde38e0cb281ca919a1429da0e542fad67612.tar.gz
tor-216bde38e0cb281ca919a1429da0e542fad67612.zip
Fix some types on container fns
Diffstat (limited to 'src/common/container.h')
-rw-r--r--src/common/container.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/container.h b/src/common/container.h
index 2a6ba01e62..5abd8b48d9 100644
--- a/src/common/container.h
+++ b/src/common/container.h
@@ -109,9 +109,9 @@ void smartlist_sort_digests(smartlist_t *sl);
void smartlist_sort_digests256(smartlist_t *sl);
void smartlist_sort_pointers(smartlist_t *sl);
-char *smartlist_get_most_frequent_string(smartlist_t *sl);
-char *smartlist_get_most_frequent_string_(smartlist_t *sl, int *count_out);
-char *smartlist_get_most_frequent_digest256(smartlist_t *sl);
+const char *smartlist_get_most_frequent_string(smartlist_t *sl);
+const char *smartlist_get_most_frequent_string_(smartlist_t *sl, int *count_out);
+const uint8_t *smartlist_get_most_frequent_digest256(smartlist_t *sl);
void smartlist_uniq_strings(smartlist_t *sl);
void smartlist_uniq_digests(smartlist_t *sl);