From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pete Zaitcev Subject: [Patch 8/8] tabled: cleanup: add protype for main() Date: Wed, 14 Apr 2010 12:35:29 -0600 Message-ID: <20100414123529.078b5310@redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: hail-devel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: jeff@garzik.org 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 --- 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;