summaryrefslogtreecommitdiff
path: root/toxcore/logger.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-01-17 13:18:22 -0500
committerirungentoo <irungentoo@gmail.com>2015-01-17 13:18:22 -0500
commita8bf060815f775849853ad1c7e1dcd16dd2e0388 (patch)
tree7b68a224198ced982738ca2cd1c635d3755915cb /toxcore/logger.c
parentf1371ad100f2ab810caf767e8504694d354174a9 (diff)
Fixed logger build issue.
Diffstat (limited to 'toxcore/logger.c')
-rw-r--r--toxcore/logger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/logger.c b/toxcore/logger.c
index b51ef2b9..ad0423fc 100644
--- a/toxcore/logger.c
+++ b/toxcore/logger.c
@@ -42,7 +42,7 @@
42#endif 42#endif
43 43
44 44
45typedef struct logger { 45struct logger {
46 FILE *log_file; 46 FILE *log_file;
47 LOG_LEVEL level; 47 LOG_LEVEL level;
48 uint64_t start_time; /* Time when lib loaded */ 48 uint64_t start_time; /* Time when lib loaded */
@@ -55,7 +55,7 @@ typedef struct logger {
55 55
56 /* For thread synchronisation */ 56 /* For thread synchronisation */
57 pthread_mutex_t mutex[1]; 57 pthread_mutex_t mutex[1];
58} Logger; 58};
59 59
60Logger *global = NULL; 60Logger *global = NULL;
61 61