All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch 8/8] tabled: cleanup: add protype for main()
@ 2010-04-14 18:35 Pete Zaitcev
  0 siblings, 0 replies; only message in thread
From: Pete Zaitcev @ 2010-04-14 18:35 UTC (permalink / raw)
  To: jeff; +Cc: Project Hail List

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_.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>

---
 test/wait-for-listen.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/wait-for-listen.c b/test/wait-for-listen.c
index 8cfdc56..300ff97 100644
--- a/test/wait-for-listen.c
+++ b/test/wait-for-listen.c
@@ -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;

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-14 18:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-14 18:35 [Patch 8/8] tabled: cleanup: add protype for main() Pete Zaitcev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.