Skip to contentSkip to conversation

tabled: cleanup: add protype for main()

PATCH Applied Pete Zaitcev 1 participant 1 message Apr 14, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 8/8 tabled: cleanup: add protype for main()

Completely useless warning: main is main, right? Is it even checked? But oh well, stub it with unused arguments and hope other gcc version does not complain about _that_.

---
 test/wait-for-listen.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
test/wait-for-listen.c +1 -1
index 8cfdc56..300ff97 100644
@@ -83,7 +83,7 @@ static int node_resolve(struct server_node *sn,
 	return -1;
 }
 
-int main()
+int main(int argc, char **argv)
 {
 	struct server_node snode, *sn = &snode;
 	time_t start_time;