summaryrefslogtreecommitdiff
path: root/netsniff-ng.c
diff options
context:
space:
mode:
Diffstat (limited to 'netsniff-ng.c')
-rw-r--r--netsniff-ng.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/netsniff-ng.c b/netsniff-ng.c
index 82ab73c..a2f4fac 100644
--- a/netsniff-ng.c
+++ b/netsniff-ng.c
@@ -1008,7 +1008,7 @@ static void recv_only_or_dump(struct ctx *ctx)
close(sock);
}
-static void help(void)
+static void __noreturn help(void)
{
printf("\nnetsniff-ng %s, the packet sniffing beast\n", VERSION_STRING);
puts("http://www.netsniff-ng.org\n\n"
@@ -1070,7 +1070,7 @@ static void help(void)
die();
}
-static void version(void)
+static void __noreturn version(void)
{
printf("\nnetsniff-ng %s, the packet sniffing beast\n", VERSION_STRING);
puts("http://www.netsniff-ng.org\n\n"