Change function prototype specifications to follow strict ANSI C style
authorIvan Maidanski <ivmai@mail.ru>
Thu, 19 Jan 2012 04:33:50 +0000 (08:33 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 19 Jan 2012 07:34:26 +0000 (11:34 +0400)
* tests/test_atomic.c (main): Put "void" keyword into the arguments
specification of the function prototype.
* tests/test_stack.c (main): Likewise.

tests/test_atomic.c
tests/test_stack.c

index 131c552..7356deb 100644 (file)
@@ -164,7 +164,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();
index d65e78a..034fb27 100644 (file)
@@ -73,7 +73,7 @@ void add_elements(int n)
   AO_stack_push(&the_list, (AO_t *)le);
 }
 
-void print_list()
+void print_list(void)
 {
   list_element *p;