From f9b3b2438c9f1af547271b1e425b902c640dc52f Mon Sep 17 00:00:00 2001 From: Sven Eckelmann Date: Wed, 20 Dec 2017 11:20:55 +0100 Subject: [PATCH] gluon-radv-filterd: Keep global variables static These variables are only used in the the same file. They can therefore be static and don't have to be exported by the executable. Signed-off-by: Sven Eckelmann --- package/gluon-radv-filterd/src/gluon-radv-filterd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gluon-radv-filterd/src/gluon-radv-filterd.c b/package/gluon-radv-filterd/src/gluon-radv-filterd.c index 36e64433..82ee060b 100644 --- a/package/gluon-radv-filterd/src/gluon-radv-filterd.c +++ b/package/gluon-radv-filterd/src/gluon-radv-filterd.c @@ -105,7 +105,7 @@ struct router { uint16_t tq; }; -struct global { +static struct global { int sock; struct router *routers; const char *mesh_iface;