summaryrefslogtreecommitdiff
path: root/trafgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'trafgen.c')
-rw-r--r--trafgen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/trafgen.c b/trafgen.c
index 5ec837b..b1950c4 100644
--- a/trafgen.c
+++ b/trafgen.c
@@ -157,7 +157,7 @@ static void timer_purge(void)
setitimer(ITIMER_REAL, &itimer, NULL);
}
-static void help(void)
+static void __noreturn help(void)
{
printf("\ntrafgen %s, multithreaded zero-copy network packet generator\n", VERSION_STRING);
puts("http://www.netsniff-ng.org\n\n"
@@ -219,7 +219,7 @@ static void help(void)
die();
}
-static void example(void)
+static void __noreturn example(void)
{
const char *e =
"/* Note: dynamic elements make trafgen slower! */\n"