fix compile warning

This commit is contained in:
virusdefender 2016-02-01 18:35:31 +08:00
parent 9ef79e8d9f
commit b2bf385d5c

View File

@ -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)
{