diff options
author | FreeArtMan <dos21h@gmail.com> | 2015-01-07 21:00:59 +0900 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2015-01-07 21:00:59 +0900 |
commit | 03e459e7dff84c44644b1eccc0e00b73d846fe2a (patch) | |
tree | 00269e56bdf53906396199e22dcabe8bbee9592f /todo.c | |
parent | 0ab31d63699467d72f09327171b735ed2152bf2c (diff) | |
download | microbbs-03e459e7dff84c44644b1eccc0e00b73d846fe2a.tar.gz microbbs-03e459e7dff84c44644b1eccc0e00b73d846fe2a.zip |
Small fixes about loging and libterm
Diffstat (limited to 'todo.c')
-rw-r--r-- | todo.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |