Fixed some lint errors from cppcheck
Archlinux build / build-arch (push) Successful in 3m1s
Debian build / build-ubuntu (push) Successful in 3m39s

This commit is contained in:
zx
2025-04-15 00:25:59 +03:00
parent 8261016c7e
commit 07edf66b72
5 changed files with 33 additions and 20 deletions
+3 -3
View File
@@ -65,8 +65,8 @@ void log_setident(const char *ident);
int log_open(const char *logname, const char *ext, const char *tty);
int log_close(void);
int log_reopen(const char *logname, const char *ext, const char *tty);
int log(const char *s, ...);
int logerr(const char *s, ...);
void log(const char *s, ...);
void logerr(const char *s, ...);
#ifdef DEBUG
//void debug_setlevel(long newlevel, bool logit);
@@ -75,7 +75,7 @@ bool debug_isopened(void);
//int debug_parsestring(char *str, unsigned long *deblevel);
int debug_open();
int debug_close();
int debug(unsigned long what, const char *str, ...);
void debug(unsigned long what, const char *str, ...);
void debug_configure();
#endif