diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-07-03 12:19:12 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-07-03 12:36:25 -0400 |
commit | 83c93245fe1ad9db71e0146b6984d5b7628a455a (patch) | |
tree | 7d02e9f4c3ded009b6fe95b1827a4edee7c94d42 /collection/collection_ut.c | |
parent | 93ddfbe39c99c9d4a1b4c0b75c1e657c64c883b8 (diff) | |
download | ding-libs-83c93245fe1ad9db71e0146b6984d5b7628a455a.tar.gz ding-libs-83c93245fe1ad9db71e0146b6984d5b7628a455a.tar.xz ding-libs-83c93245fe1ad9db71e0146b6984d5b7628a455a.zip |
Clean up warnings in common/
Fix consts and function declarations
Diffstat (limited to 'collection/collection_ut.c')
-rw-r--r-- | collection/collection_ut.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/collection/collection_ut.c b/collection/collection_ut.c index f24d46a..53fc4d7 100644 --- a/collection/collection_ut.c +++ b/collection/collection_ut.c @@ -29,7 +29,7 @@ #include "collection_tools.h" -int ref_collection_test() +int ref_collection_test(void) { struct collection_item *peer = NULL; struct collection_item *socket = NULL; @@ -108,7 +108,7 @@ int ref_collection_test() } -int single_collection_test() +int single_collection_test(void) { struct collection_item *handle = NULL; int error = EOK; @@ -164,7 +164,7 @@ int single_collection_test() return error; } -int add_collection_test() +int add_collection_test(void) { struct collection_item *peer = NULL; struct collection_item *socket = NULL; @@ -222,7 +222,7 @@ int add_collection_test() return error; } -int mixed_collection_test() +int mixed_collection_test(void) { struct collection_item *peer; struct collection_item *socket1; @@ -550,7 +550,7 @@ int mixed_collection_test() } -int iterator_test() +int iterator_test(void) { struct collection_item *peer; struct collection_item *socket1; @@ -696,7 +696,7 @@ int iterator_test() } -int insert_extract_test() +int insert_extract_test(void) { struct collection_item *col; struct collection_item *col2; @@ -874,7 +874,7 @@ int insert_extract_test() return EOK; } -int delete_test() +int delete_test(void) { struct collection_item *col; @@ -910,7 +910,7 @@ int delete_test() /* Main function of the unit test */ -int main() +int main(int argc, char *argv[]) { int error = 0; |