summaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-09-08 14:28:15 +0200
committercgzones <cgzones@googlemail.com>2020-09-18 12:28:40 +0200
commite719a85994e0ba13ac107c49fd85d49495dfc6a2 (patch)
tree39296d78b23199697688e28ae4807a17760e6a19 /freebsd
parentb85a31415e8d68d0d46a105b1033a92669224682 (diff)
Mark noreturn functions
Diffstat (limited to 'freebsd')
-rw-r--r--freebsd/FreeBSDCRT.c3
-rw-r--r--freebsd/FreeBSDCRT.h6
2 files changed, 6 insertions, 3 deletions
diff --git a/freebsd/FreeBSDCRT.c b/freebsd/FreeBSDCRT.c
index 49cc5d0d..b0a0f607 100644
--- a/freebsd/FreeBSDCRT.c
+++ b/freebsd/FreeBSDCRT.c
@@ -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>
diff --git a/freebsd/FreeBSDCRT.h b/freebsd/FreeBSDCRT.h
index eb88fcc1..3ab802d9 100644
--- a/freebsd/FreeBSDCRT.h
+++ b/freebsd/FreeBSDCRT.h
@@ -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