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,11 +1,12 @@
/*
htop - UnsupportedCRT.c
htop - FreeBSDCRT.c
(C) 2014 Hisham H. Muhammad
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
#include "config.h"
#include "FreeBSDCRT.h"
#include "CRT.h"
#include <stdio.h>
#include <stdlib.h>

View File

@ -1,12 +1,14 @@
#ifndef HEADER_FreeBSDCRT
#define HEADER_FreeBSDCRT
/*
htop - UnsupportedCRT.h
htop - FreeBSDCRT.h
(C) 2014 Hisham H. Muhammad
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