All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pete Zaitcev <zaitcev@redhat.com>
To: jeff@garzik.org
Cc: Project Hail List <hail-devel@vger.kernel.org>
Subject: [Patch 8/8] tabled: cleanup: add protype for main()
Date: Wed, 14 Apr 2010 12:35:29 -0600	[thread overview]
Message-ID: <20100414123529.078b5310@redhat.com> (raw)

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;

                 reply	other threads:[~2010-04-14 18:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100414123529.078b5310@redhat.com \
    --to=zaitcev@redhat.com \
    --cc=hail-devel@vger.kernel.org \
    --cc=jeff@garzik.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.