From c409e13caa46669f75fcf849c11c9565807cd0ff Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 17 May 2013 13:40:43 +0200 Subject: 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 --- trafgen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3-54-g00ecf