mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-14 04:54:37 +03:00
Mark noreturn functions
This commit is contained in:

committed by
cgzones

parent
b85a31415e
commit
e719a85994
2
htop.c
2
htop.c
@ -29,11 +29,13 @@ in the source distribution for its full text.
|
||||
|
||||
//#link m
|
||||
|
||||
ATTR_NORETURN
|
||||
static void printVersionFlag(void) {
|
||||
fputs("htop " VERSION "\n", stdout);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
ATTR_NORETURN
|
||||
static void printHelpFlag(void) {
|
||||
fputs("htop " VERSION "\n"
|
||||
"Released under the GNU GPL.\n\n"
|
||||
|
Reference in New Issue
Block a user