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
@ -1,5 +1,5 @@
|
||||
/*
|
||||
htop - UnsupportedCRT.c
|
||||
htop - OpenBSDCRT.c
|
||||
(C) 2014 Hisham H. Muhammad
|
||||
(C) 2015 Michael McConville
|
||||
Released under the GNU GPL, see the COPYING file
|
||||
@ -7,6 +7,7 @@ in the source distribution for its full text.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "OpenBSDCRT.h"
|
||||
#include "CRT.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -1,13 +1,15 @@
|
||||
#ifndef HEADER_OpenBSDCRT
|
||||
#define HEADER_OpenBSDCRT
|
||||
/*
|
||||
htop - UnsupportedCRT.h
|
||||
htop - OpenBSDCRT.h
|
||||
(C) 2014 Hisham H. Muhammad
|
||||
(C) 2015 Michael McConville
|
||||
Released under the GNU GPL, see the COPYING file
|
||||
in the source distribution for its full text.
|
||||
*/
|
||||
|
||||
void CRT_handleSIGSEGV(int sgn);
|
||||
#include "Macros.h"
|
||||
|
||||
void CRT_handleSIGSEGV(int sgn) ATTR_NORETURN;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user