aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/options/internal/generic/frigg.cpp
blob: 7575c9c89fe925ead810c20d97b4650a4a8021ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

#include <bits/ensure.h>
#include <mlibc/debug.hpp>
#include <mlibc/internal-sysdeps.hpp>

extern "C" void frg_panic(const char *mstr) {
//	mlibc::sys_libc_log("mlibc: Call to frg_panic");
	mlibc::sys_libc_log(mstr);
	mlibc::sys_libc_panic();
}

extern "C" void frg_log(const char *mstr) {
	mlibc::sys_libc_log(mstr);
}