X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubox.git;a=blobdiff_plain;f=log%2Fsyslog.h;h=81a039f3263e90b44e3568803e1d7aee58cfe386;hp=dc712ffd75c65c7ac71e7e9111e8b35bb5cea408;hb=7a49632ec93647187d5f87d9fdb6b3e81341d505;hpb=cb6425ce059ddcd4ade45200fdcc39234ff500ad diff --git a/log/syslog.h b/log/syslog.h index dc712ff..81a039f 100644 --- a/log/syslog.h +++ b/log/syslog.h @@ -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);