summaryrefslogtreecommitdiffstats
path: root/common/collection/collection_stack_ut.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/collection/collection_stack_ut.c')
-rw-r--r--common/collection/collection_stack_ut.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/collection/collection_stack_ut.c b/common/collection/collection_stack_ut.c
index b3337c778..ebf62fc6b 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;