summaryrefslogtreecommitdiffstats
path: root/utils/iftest.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-12-30 22:41:18 +0100
committerJan Engelhardt <jengelh@medozas.de>2011-07-30 20:57:13 +0200
commit87eac438d72e8abfc05d9dc99ff80db8789ca5fd (patch)
tree63c00ceee2b9634d8bc0c5a5f079d380fa86f4bc /utils/iftest.c
parenta54c36f50c8bc1230edc372cc4ca5518c154b2a0 (diff)
utils: resolve compiler warning
iftest.c:36:1: warning: control reaches end of non-void function Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'utils/iftest.c')
-rw-r--r--utils/iftest.c3
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;
}