summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2015-05-17 17:14:07 +0200
committerMichal Idziorek <m.i@gmx.at>2015-05-17 17:14:07 +0200
commit29ea3208b004f15dafa48ae29a75ba7f0c093a74 (patch)
treebc39ac9b187753e9a16dbac5bf9c2523b32097f9 /lib
parent819a4e871058f2dc4a2e255ecbe5a2c49cc8450c (diff)
working on vt52 layer
Diffstat (limited to 'lib')
-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;
}
-
+*/