--- lbbs/include/common.h 2025/06/26 12:17:02 1.46 +++ lbbs/include/common.h 2025/07/23 01:16:28 1.52 @@ -25,9 +25,7 @@ #define FILE_PATH_LEN 4096 // Version -#define APP_NAME "LBBS" -#define APP_VER "1.2.0" -#define APP_INFO (APP_NAME " version " APP_VER " build on " __DATE__ " " __TIME__) +#define APP_INFO (PACKAGE_STRING " build on " __DATE__ " " __TIME__) // Enviroment #define CONF_BBSD "conf/bbsd.conf" @@ -84,8 +82,6 @@ extern ssh_bind sshbind; extern ssh_session SSH_session; extern ssh_channel SSH_channel; -extern const char *get_time_str(char *string, size_t length); - // Signal handler extern void sig_hup_handler(int); extern void sig_term_handler(int); @@ -97,7 +93,4 @@ extern volatile int SYS_child_process_co extern volatile int SYS_child_exit; extern volatile int SYS_conf_reload; -// Network -extern const char *ip_mask(char *s, int level, char mask); - #endif //_COMMON_H_