summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-05-17 13:40:43 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-05-17 13:40:43 +0200
commitc409e13caa46669f75fcf849c11c9565807cd0ff (patch)
tree7687d02a2e68cc1eeea6d52f54ebd3639150e7fc
parent069c5e3f64e24be5fbedf08cfaff3bc191a5cf91 (diff)
trafgen: Add __noreturn attribute previously missed
The version() function was missed in the previous commit 785fe152 ("trafgen: Add __noreturn attribute to exiting functions"), so add __noreturn to it now. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--trafgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trafgen.c b/trafgen.c
index b1950c4..16cce28 100644
--- a/trafgen.c
+++ b/trafgen.c
@@ -273,7 +273,7 @@ static void __noreturn example(void)
die();
}
-static void version(void)
+static void __noreturn version(void)
{
printf("\ntrafgen %s, multithreaded zero-copy network packet generator\n", VERSION_STRING);
puts("http://www.netsniff-ng.org\n\n"