summaryrefslogtreecommitdiff
path: root/lib/logger/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/logger/log.c')
-rw-r--r--lib/logger/log.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/logger/log.c b/lib/logger/log.c
index bcfedf0..7d58458 100644
--- a/lib/logger/log.c
+++ b/lib/logger/log.c
@@ -6,6 +6,7 @@
#include "log.h"
#include "kernel/config.h"
#include "kernel/console.h"
+#include "terminal/vt52.h"
#include "lib/printf/printf.h"
#include "kernel/timer.h"
@@ -15,6 +16,10 @@ static int first=0;
static int last=0;
static bool init=true;//
+static void init_log()
+{
+}
+
void log(char *module_name, int log_level, char *format_string, ...)
{
@@ -68,8 +73,9 @@ void panic(char *module_name, char *message)
}
-
-void log_log()
+// unused shit!
+/*
+static void log_log()
{
#ifdef FOOLOS_LOG_OFF
return;
@@ -86,4 +92,4 @@ void log_log()
init=true;
}
-
+*/