From: Jan Engelhardt <jengelh@medozas.de>
To: pablo@netfilter.org
Cc: netfilter-devel@vger.kernel.org
Subject: [PATCH 3/5] utils: resolve compiler warning
Date: Fri, 31 Dec 2010 00:40:08 +0100 [thread overview]
Message-ID: <1293752411-12923-4-git-send-email-jengelh@medozas.de> (raw)
In-Reply-To: <1293752411-12923-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.1
next prev parent reply other threads:[~2010-12-30 23:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-30 23:40 libnfnetlink: build improvements Jan Engelhardt
2010-12-30 23:40 ` [PATCH 1/5] build: remove unused LIBTOOL_DEPS Jan Engelhardt
2010-12-30 23:40 ` [PATCH 2/5] build: use -Wall across the entire source Jan Engelhardt
2010-12-30 23:40 ` Jan Engelhardt [this message]
2010-12-30 23:40 ` [PATCH 4/5] build: implement export symbols Jan Engelhardt
2011-01-06 2:41 ` Pablo Neira Ayuso
2010-12-30 23:40 ` [PATCH 5/5] src: remove redundant cast near msg_name Jan Engelhardt
2011-01-06 2:37 ` Pablo Neira Ayuso
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=1293752411-12923-4-git-send-email-jengelh@medozas.de \
--to=jengelh@medozas.de \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.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).