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 | 550f27dbdbd00024e483b989ebc033b2cbe0d239 (patch) | |
tree | 3cc1875f04808a021eb85ceb3ae6201e4c0b32f6 /common/collection/collection_ut.c | |
parent | 19727007c9948ee92a9505efae6692ea38c96a3e (diff) | |
download | sssd-550f27dbdbd00024e483b989ebc033b2cbe0d239.tar.gz sssd-550f27dbdbd00024e483b989ebc033b2cbe0d239.tar.xz sssd-550f27dbdbd00024e483b989ebc033b2cbe0d239.zip |
Clean up warnings in common/
Fix consts and function declarations
Diffstat (limited to 'common/collection/collection_ut.c')
-rw-r--r-- | common/collection/collection_ut.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/common/collection/collection_ut.c b/common/collection/collection_ut.c index f24d46a57..53fc4d70d 100644 --- a/common/collection/collection_ut.c +++ b/common/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; |