From b2bf385d5c1c884bfa16e03dc617092d4d03aed1 Mon Sep 17 00:00:00 2001 From: virusdefender Date: Mon, 1 Feb 2016 18:35:31 +0800 Subject: [PATCH] fix compile warning --- logger.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logger.h b/logger.h index c1d24be..dd04027 100644 --- a/logger.h +++ b/logger.h @@ -41,7 +41,7 @@ #include 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) {