--- lbbs/src/common.c 2025/04/28 12:45:57 1.10 +++ lbbs/src/common.c 2025/04/30 09:18:19 1.11 @@ -15,7 +15,10 @@ * * ***************************************************************************/ +#include "common.h" +#include "log.h" #include "menu.h" +#include #include #include #include @@ -47,8 +50,7 @@ int SYS_exit; int SYS_child_process_count; // Common function -const char * -str_space(char *string, int length) +const char *str_space(char *string, int length) { int i; for (i = 0; i < length; i++) @@ -59,8 +61,7 @@ str_space(char *string, int length) return string; } -const char * -get_time_str(char *string, size_t length) +const char *get_time_str(char *string, size_t length) { char week[10], buffer[256]; time_t curtime;