From 4b46afebfb0d20b7e446466fa0212f35d2ab1642 Mon Sep 17 00:00:00 2001
From: Andreas Mohr <and@gmx.li>
Date: Sat, 17 Sep 2016 19:48:06 +0000
Subject: [PATCH] (utilunix.c) Cleanup no attribute noreturn warning
Cleanup -Wsuggest-attribute=noreturn warning.
utilunix.c:360:1: error: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn]
Signed-off-by: Andreas Mohr <and@gmx.li>
---
lib/utilunix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/utilunix.c b/lib/utilunix.c
index 4153bdd..de42179 100644
a
|
b
|
save_stop_handler (void) |
356 | 356 | * @param status exit code |
357 | 357 | */ |
358 | 358 | |
359 | | void |
| 359 | void __attribute__ ((noreturn)) |
360 | 360 | my_exit (int status) |
361 | 361 | { |
362 | 362 | _exit (status); |