From: Jan Engelhardt <jengelh@medozas.de>
To: kaber@trash.net
Cc: netfilter-devel@vger.kernel.org
Subject: [PATCH 3/3] utils: resolve compiler warning
Date: Sat, 30 Jul 2011 21:11:03 +0200 [thread overview]
Message-ID: <1312053064-2153-4-git-send-email-jengelh@medozas.de> (raw)
In-Reply-To: <1312053064-2153-1-git-send-email-jengelh@medozas.de>
iftest.c:36:1: warning: control reaches end of non-void function
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
---
utils/iftest.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/utils/iftest.c b/utils/iftest.c
index 2bbe3a3..523a17a 100644
--- a/utils/iftest.c
+++ b/utils/iftest.c
@@ -7,7 +7,7 @@
#include <libnfnetlink/libnfnetlink.h>
-int main()
+int main(void)
{
int i;
struct nlif_handle *h;
@@ -33,4 +33,5 @@ int main()
}
nlif_close(h);
+ return EXIT_SUCCESS;
}
--
1.7.3.4
next prev parent reply other threads:[~2011-07-30 19:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-30 19:11 libnfnetlink patches Jan Engelhardt
2011-07-30 19:11 ` [PATCH 1/3] build: remove unused LIBTOOL_DEPS Jan Engelhardt
2011-07-30 19:11 ` [PATCH 2/3] build: use -Wall across the entire source Jan Engelhardt
2011-07-30 19:11 ` Jan Engelhardt [this message]
2011-08-01 9:30 ` libnfnetlink patches Patrick McHardy
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=1312053064-2153-4-git-send-email-jengelh@medozas.de \
--to=jengelh@medozas.de \
--cc=kaber@trash.net \
--cc=netfilter-devel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).