On x86, binary size goes down by 16 bytes. Signed-off-by: Rosen Penev <ros...@gmail.com> --- log/syslog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
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, }; -- 2.13.6 _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev