summaryrefslogtreecommitdiff
path: root/motd.c
diff options
context:
space:
mode:
Diffstat (limited to 'motd.c')
-rw-r--r--motd.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/motd.c b/motd.c
index ce68f77..8d11b3f 100644
--- a/motd.c
+++ b/motd.c
@@ -1,5 +1,7 @@
#include "motd.h"
+#ifdef CONFIG_MOTD
+
//TODO merge 2 functions in one proper
//TODO complcations with libterm
int bbs_login_motd( term_screen *ts, const char *fname )
@@ -100,4 +102,6 @@ int bbs_quit_motd( term_screen *ts, const char *fname )
//printf("%d %d %d\n",y,posy,ts->term_row);
return 0;
-} \ No newline at end of file
+}
+
+#endif \ No newline at end of file