Fixed logger build issue.

This commit is contained in:
irungentoo 2015-01-17 13:18:22 -05:00
parent f1371ad100
commit a8bf060815
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -42,7 +42,7 @@
#endif #endif
typedef struct logger { struct logger {
FILE *log_file; FILE *log_file;
LOG_LEVEL level; LOG_LEVEL level;
uint64_t start_time; /* Time when lib loaded */ uint64_t start_time; /* Time when lib loaded */
@ -55,7 +55,7 @@ typedef struct logger {
/* For thread synchronisation */ /* For thread synchronisation */
pthread_mutex_t mutex[1]; pthread_mutex_t mutex[1];
} Logger; };
Logger *global = NULL; Logger *global = NULL;