diff options
-rw-r--r-- | tests/test_atomic.c | 2 | ||||
-rw-r--r-- | tests/test_stack.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_atomic.c b/tests/test_atomic.c index 7d59393..e354024 100644 --- a/tests/test_atomic.c +++ b/tests/test_atomic.c @@ -165,7 +165,7 @@ int test_and_set_test(void) #endif /* defined(AO_HAVE_test_and_set_acquire) */ -int main() +int main(void) { test_atomic(); test_atomic_acquire(); diff --git a/tests/test_stack.c b/tests/test_stack.c index 3a92d12..bf3180d 100644 --- a/tests/test_stack.c +++ b/tests/test_stack.c @@ -74,7 +74,7 @@ void add_elements(int n) AO_stack_push(&the_list, (AO_t *)le); } -void print_list() +void print_list(void) { list_element *p; |