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 <sven@narfation.org>
This commit is contained in:
parent
87bf15ec09
commit
f9b3b2438c
@ -105,7 +105,7 @@ struct router {
|
|||||||
uint16_t tq;
|
uint16_t tq;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct global {
|
static struct global {
|
||||||
int sock;
|
int sock;
|
||||||
struct router *routers;
|
struct router *routers;
|
||||||
const char *mesh_iface;
|
const char *mesh_iface;
|
||||||
|
Loading…
Reference in New Issue
Block a user