From: Rosen Penev Date: Mon, 30 Oct 2017 19:05:30 +0000 (-0700) Subject: log/syslog: Add missing static to two structs. X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=da5b8b4049d35cab2f5484940d122017228598fd;p=project%2Fubox.git log/syslog: Add missing static to two structs. On x86, binary size goes down by 16 bytes. Signed-off-by: Rosen Penev --- 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, };