summaryrefslogtreecommitdiffstats
path: root/todo.c
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2015-01-07 21:00:59 +0900
committerFreeArtMan <dos21h@gmail.com>2015-01-07 21:00:59 +0900
commit03e459e7dff84c44644b1eccc0e00b73d846fe2a (patch)
tree00269e56bdf53906396199e22dcabe8bbee9592f /todo.c
parent0ab31d63699467d72f09327171b735ed2152bf2c (diff)
downloadmicrobbs-03e459e7dff84c44644b1eccc0e00b73d846fe2a.tar.gz
microbbs-03e459e7dff84c44644b1eccc0e00b73d846fe2a.zip
Small fixes about loging and libterm
Diffstat (limited to 'todo.c')
-rw-r--r--todo.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/todo.c b/todo.c
index ce42633..b0bb349 100644
--- a/todo.c
+++ b/todo.c
@@ -1,5 +1,7 @@
#include "todo.h"
+#ifdef CONFIG_TODO
+
int bbs_todo( term_screen *ts, const char *fname)
{
int ret=-1;
@@ -40,6 +42,9 @@ int bbs_todo( term_screen *ts, const char *fname)
//END
+ //log that someone use todo
+ bbs_log( NULL, "we are in todo" );
+
while( (quit_loop == 0) )
{
@@ -79,4 +84,6 @@ int bbs_todo( term_screen *ts, const char *fname)
llist_free( todo_list );
return ret;
-} \ No newline at end of file
+}
+
+#endif \ No newline at end of file