Signed-off-by: Felix Fietkau <nbd@openwrt.org>
static struct uloop_process task = {
.cb = task_complete,
};
static struct uloop_process task = {
.cb = task_complete,
};
-char *eventnames[] = {"ifdown", "ifup", "ifupdate"};
+static const char * const eventnames[] = {"ifdown", "ifup", "ifupdate"};
static void
run_cmd(const char *ifname, const char *device, enum interface_event event,
static void
run_cmd(const char *ifname, const char *device, enum interface_event event,