diff options
Diffstat (limited to 'src/test/icaltm_test.c')
-rw-r--r-- | src/test/icaltm_test.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/icaltm_test.c b/src/test/icaltm_test.c index b3ccad34..74bea858 100644 --- a/src/test/icaltm_test.c +++ b/src/test/icaltm_test.c @@ -18,11 +18,12 @@ static icaltimezone *zone, *utc; -static void *test_tread() +static void *test_tread(void *user_data) { struct icaltimetype itt; int ii; + _unused(user_data); itt = icaltime_from_string("19710203T040506"); itt.zone = zone; @@ -33,7 +34,7 @@ static void *test_tread() return NULL; } -int main() +int main(void) { pthread_t thread[2]; int ii; |