--- lbbs/include/log.h 2025/05/04 14:54:55 1.2 +++ lbbs/include/log.h 2025/05/05 14:27:57 1.4 @@ -18,11 +18,13 @@ #ifndef _LOG_H_ #define _LOG_H_ +#include + extern int log_begin(char *file_log_std, char *file_log_err); extern void log_end(); -extern int log_head(char *buf); +extern int log_head(char *buf, size_t len); extern int log_std(const char *format, ...);