summaryrefslogtreecommitdiff
path: root/lib/int_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/int_lib.h')
-rw-r--r--lib/int_lib.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/int_lib.h b/lib/int_lib.h
index 3334a556..5ce20238 100644
--- a/lib/int_lib.h
+++ b/lib/int_lib.h
@@ -37,15 +37,6 @@
#include <stdbool.h>
#include <float.h>
-/* If compiling for kernel use, call panic() instead of abort(). */
-#ifdef KERNEL_USE
-extern void panic (const char *, ...);
-#define compilerrt_abort() \
- panic("%s:%d: abort in %s", __FILE__, __LINE__, __FUNCTION__)
-#else
-#define compilerrt_abort() abort()
-#endif
-
#if !defined(INFINITY) && defined(HUGE_VAL)
#define INFINITY HUGE_VAL
#endif /* INFINITY */
@@ -53,4 +44,7 @@ extern void panic (const char *, ...);
/* Include the commonly used internal type definitions. */
#include "int_types.h"
+/* Include internal utility function declarations. */
+#include "int_util.h"
+
#endif /* INT_LIB_H */