X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fubox.git;a=blobdiff_plain;f=log%2Fsyslog.c;fp=log%2Fsyslog.c;h=754baa9c62ed05d013cbc707052b20c77bf01438;hp=856fa60edce459f7cf525384b9d128dbdc8218ad;hb=da5b8b4049d35cab2f5484940d122017228598fd;hpb=dd61c9f1c68b067ab841c8f4d2008075e95fe29a diff --git a/log/syslog.c b/log/syslog.c index 856fa60..754baa9 100644 --- a/log/syslog.c +++ b/log/syslog.c @@ -172,12 +172,12 @@ klog_cb(struct ustream *s, int bytes) } while (1); } -struct ustream_fd slog = { +static struct ustream_fd slog = { .stream.string_data = true, .stream.notify_read = slog_cb, }; -struct ustream_fd klog = { +static struct ustream_fd klog = { .stream.string_data = true, .stream.notify_read = klog_cb, };