summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2020-11-08 22:39:12 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2020-11-08 22:39:12 +0100
commitb5e5e800a71a94596f45d0f0fcda92719e66b2e5 (patch)
tree37727ee5f66b379783e57e7fbd10978464aa1d7f
parent4f548ae3ea98933db41973dc8c8c6926fbb35f76 (diff)
WIP: fix globals
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index ed44cd8..5eedea3 100644
--- a/config.c
+++ b/config.c
@@ -307,7 +307,7 @@ config_init_rules(void)
}
static unsigned int
-lookup_uint(const char *name, unsigned int default_value)
+lookup_uint(struct uci_section *globals, const char *name, unsigned int default_value)
{
const char *value = uci_lookup_option_string(
uci_ctx, globals, name);