From 32407e728971006ed3d0885e01c22fb66c8adc57 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 15 Jul 2016 23:12:14 +0200 Subject: Move stuff around, again --- src/lib/libkogata/debug.c | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 src/lib/libkogata/debug.c (limited to 'src/lib/libkogata/debug.c') diff --git a/src/lib/libkogata/debug.c b/src/lib/libkogata/debug.c deleted file mode 100644 index 847ecca..0000000 --- a/src/lib/libkogata/debug.c +++ /dev/null @@ -1,19 +0,0 @@ -#include - -#include - -#include - -void sys_panic(const char* msg, const char* file, int line) { - dbg_printf("PANIC in user process\n %s\n at %s:%d\n", msg, file, line); - exit(-1); - while(true); -} - -void sys_panic_assert(const char* assert, const char* file, int line) { - dbg_printf("ASSERT FAILED in user process\n %s\n at %s:%d\n", assert, file, line); - exit(-1); - while(true); -} - -/* vim: set ts=4 sw=4 tw=0 noet :*/ -- cgit v1.2.3