print_complete_help_and_die() does not return.
authorAndre Noll <maan@systemlinux.org>
Sat, 22 Nov 2008 22:40:18 +0000 (23:40 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 22 Nov 2008 22:40:18 +0000 (23:40 +0100)
So change the return type to void.

adu.c

diff --git a/adu.c b/adu.c
index dd74ca4..82c876a 100644 (file)
--- a/adu.c
+++ b/adu.c
@@ -221,7 +221,7 @@ static int check_args(void)
        return 1;
 }
 
-static int print_complete_help_and_die(void)
+static void print_complete_help_and_die(void)
 {
        const char **line;