diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-10-27 18:16:37 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-10-27 18:16:37 +0000 |
commit | ce5709184bef665a545bcbf207598ad0f991a67b (patch) | |
tree | 58bf49cd59a7d236e2146ef3a86327929ca637fb /src/common/util.h | |
parent | 6874c3990426ca4efd4e88796854f2bab60df54d (diff) | |
download | tor-ce5709184bef665a545bcbf207598ad0f991a67b.tar.gz tor-ce5709184bef665a545bcbf207598ad0f991a67b.zip |
Pass with -Wstrict-prototypes
svn:r2614
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util.h b/src/common/util.h index f9f50f086e..0b6ffd77e3 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -140,7 +140,7 @@ const char *hex_str(const char *from, size_t fromlen); /** Generic resizeable array. */ typedef struct smartlist_t smartlist_t; -smartlist_t *smartlist_create(); +smartlist_t *smartlist_create(void); void smartlist_free(smartlist_t *sl); void smartlist_set_capacity(smartlist_t *sl, int n); void smartlist_clear(smartlist_t *sl); @@ -234,7 +234,7 @@ char *expand_filename(const char *filename); int replace_file(const char *from, const char *to); int spawn_func(int (*func)(void *), void *data); -void spawn_exit(); +void spawn_exit(void); /* Because we use threads instead of processes on Windows, we need locking on Windows. * On Unixy platforms, these functions are no-ops. */ |