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_stack_ut.c | |
parent | 93ddfbe39c99c9d4a1b4c0b75c1e657c64c883b8 (diff) | |
download | ding-libs2-83c93245fe1ad9db71e0146b6984d5b7628a455a.tar.gz ding-libs2-83c93245fe1ad9db71e0146b6984d5b7628a455a.tar.xz ding-libs2-83c93245fe1ad9db71e0146b6984d5b7628a455a.zip |
Clean up warnings in common/
Fix consts and function declarations
Diffstat (limited to 'collection/collection_stack_ut.c')
-rw-r--r-- | collection/collection_stack_ut.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/collection/collection_stack_ut.c b/collection/collection_stack_ut.c index b3337c7..ebf62fc 100644 --- a/collection/collection_stack_ut.c +++ b/collection/collection_stack_ut.c @@ -29,7 +29,7 @@ #include "collection_tools.h" -int stack_test() +int stack_test(void) { struct collection_item *stack = NULL; char binary_dump[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8 }; @@ -96,7 +96,7 @@ int stack_test() /* Main function of the unit test */ -int main() +int main(int argc, char *argv[]) { int error = EOK; |