summaryrefslogtreecommitdiffstats
path: root/common/collection/collection_queue_ut.c
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-07-03 12:19:12 -0400
committerSimo Sorce <ssorce@redhat.com>2009-07-03 12:36:25 -0400
commit550f27dbdbd00024e483b989ebc033b2cbe0d239 (patch)
tree3cc1875f04808a021eb85ceb3ae6201e4c0b32f6 /common/collection/collection_queue_ut.c
parent19727007c9948ee92a9505efae6692ea38c96a3e (diff)
downloadsssd-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_queue_ut.c')
-rw-r--r--common/collection/collection_queue_ut.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/collection/collection_queue_ut.c b/common/collection/collection_queue_ut.c
index 203936a..81fb633 100644
--- a/common/collection/collection_queue_ut.c
+++ b/common/collection/collection_queue_ut.c
@@ -29,7 +29,7 @@
#include "collection_tools.h"
-int queue_test()
+int queue_test(void)
{
struct collection_item *queue = NULL;
char binary_dump[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8 };
@@ -89,7 +89,7 @@ int queue_test()
/* Main function of the unit test */
-int main()
+int main(int argc, char *argv[])
{
int error = EOK;