Mark noreturn functions

This commit is contained in:
Christian Göttsche
2020-09-08 14:28:15 +02:00
committed by cgzones
parent b85a31415e
commit e719a85994
17 changed files with 37 additions and 11 deletions

View File

@ -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>

View File

@ -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