summaryrefslogtreecommitdiff
path: root/sysdep/unix/log.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2013-07-25 13:15:32 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2013-07-25 13:15:32 +0200
commit508d936078aecc8fbbb9ca1218104599c4a3cb4a (patch)
treed84c6b098342fc2f366d960bd90d6a158610ea48 /sysdep/unix/log.c
parenta0b176e3b2b50d3a30574afa927e0ee8ef65be68 (diff)
Implements eval command and minor CLI cleanups.
Implemented eval command can be used to evaluate expressions. The patch also documents echo command and allows to use log classes instead of integer as a mask for echo.
Diffstat (limited to 'sysdep/unix/log.c')
-rw-r--r--sysdep/unix/log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdep/unix/log.c b/sysdep/unix/log.c
index 92f12f1e..f3a66f8b 100644
--- a/sysdep/unix/log.c
+++ b/sysdep/unix/log.c
@@ -70,6 +70,8 @@ static char log_buffer[LOG_BUFFER_SIZE];
static char *log_buffer_pos;
static int log_buffer_remains;
+const char *log_buffer_ptr = log_buffer;
+
/**
* log_reset - reset the log buffer