log: make valgrind less complain by freeing allocated memory
[project/ubox.git] / log / syslog.h
index dc712ff..81a039f 100644 (file)
@@ -26,11 +26,11 @@ struct log_head {
        unsigned int id;
        int priority;
        int source;
-        struct timespec ts;
+       struct timespec ts;
        char data[];
 };
 
-void log_init(void);
+void log_init(int log_size);
 void log_shutdown(void);
 
 typedef void (*log_list_cb)(struct log_head *h);