From 550f27dbdbd00024e483b989ebc033b2cbe0d239 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 3 Jul 2009 12:19:12 -0400 Subject: Clean up warnings in common/ Fix consts and function declarations --- common/collection/collection_stack_ut.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/collection/collection_stack_ut.c') diff --git a/common/collection/collection_stack_ut.c b/common/collection/collection_stack_ut.c index b3337c77..ebf62fc6 100644 --- a/common/collection/collection_stack_ut.c +++ b/common/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; -- cgit