diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2013-05-17 13:40:43 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2013-05-17 13:40:43 +0200 |
commit | c409e13caa46669f75fcf849c11c9565807cd0ff (patch) | |
tree | 7687d02a2e68cc1eeea6d52f54ebd3639150e7fc /trafgen.c | |
parent | 069c5e3f64e24be5fbedf08cfaff3bc191a5cf91 (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>
Diffstat (limited to 'trafgen.c')
-rw-r--r-- | trafgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |