[sheepdog] [PATCH 08/14] collie: specify void if there is no argument

MORITA Kazutaka morita.kazutaka at gmail.com
Sat Aug 10 17:58:49 CEST 2013


From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>

Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 collie/farm/object_tree.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/collie/farm/object_tree.c b/collie/farm/object_tree.c
index d778a4f..00cad2d 100644
--- a/collie/farm/object_tree.c
+++ b/collie/farm/object_tree.c
@@ -98,7 +98,7 @@ void object_tree_free(void)
 	free(cached_entry);
 }
 
-int object_tree_size()
+int object_tree_size(void)
 {
 	return tree.nr_objs;
 }
-- 
1.7.9.5



More information about the sheepdog mailing list