summaryrefslogtreecommitdiff
path: root/src/common/container.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-09-29 22:59:17 +0000
committerNick Mathewson <nickm@torproject.org>2005-09-29 22:59:17 +0000
commit5c53545d8158cd486d3ccef096f895afd485dd62 (patch)
treea1d83ddbcafe741af52750b9941af42e1ac01108 /src/common/container.c
parentc6347cdb0ebb9ad0e374f345fbe085265caf0b15 (diff)
downloadtor-5c53545d8158cd486d3ccef096f895afd485dd62.tar.gz
tor-5c53545d8158cd486d3ccef096f895afd485dd62.zip
Add a bunch more warnings to out warning suite; resolve them; pack structs a little better.
svn:r5150
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;