summaryrefslogtreecommitdiff
path: root/src/common/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/container.c')
-rw-r--r--src/common/container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/container.c b/src/common/container.c
index 4c8703ca32..c9e1d63dc0 100644
--- a/src/common/container.c
+++ b/src/common/container.c
@@ -43,7 +43,7 @@ struct smartlist_t {
/** Allocate and return an empty smartlist.
*/
smartlist_t *
-smartlist_create() {
+smartlist_create(void) {
smartlist_t *sl = tor_malloc(sizeof(smartlist_t));
sl->num_used = 0;
sl->capacity = SMARTLIST_DEFAULT_CAPACITY;