mirror of
https://github.com/QingdaoU/Judger.git
synced 2024-12-29 00:11:41 +00:00
fix compile warning
This commit is contained in:
parent
9ef79e8d9f
commit
b2bf385d5c
4
logger.h
4
logger.h
@ -41,7 +41,7 @@
|
||||
#include <sys/file.h>
|
||||
|
||||
int log_open(const char *filename);
|
||||
void log_close();
|
||||
void log_close(void);
|
||||
static void log_write(int, const char *, const int, const char *, ...);
|
||||
void log_add_info(const char *info);
|
||||
|
||||
@ -89,7 +89,7 @@ int log_open(const char* filename)
|
||||
return 1;
|
||||
}
|
||||
|
||||
void log_close()
|
||||
void log_close(void)
|
||||
{
|
||||
if (log_opened)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user