From 8699ae1f82f685b26cc8fcbcc4779c7988e0cb17 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 19 Oct 2011 21:04:52 +0200 Subject: [PATCH] rename config_init_interfaces to config_init_all --- config.c | 2 +- config.h | 2 +- main.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.c b/config.c index d3f1986..d6ff826 100644 --- a/config.c +++ b/config.c @@ -331,7 +331,7 @@ config_init_package(const char *config) } void -config_init_interfaces(void) +config_init_all(void) { struct uci_package *p = NULL; struct uci_element *e; diff --git a/config.h b/config.h index f767243..879b1de 100644 --- a/config.h +++ b/config.h @@ -39,7 +39,7 @@ static inline bool test_bit(unsigned long *bits, int bit) return !!(bits[bit / BITS_PER_LONG] & (1UL << (bit % BITS_PER_LONG))); } -void config_init_interfaces(void); +void config_init_all(void); bool config_check_equal(struct blob_attr *c1, struct blob_attr *c2, const struct config_param_list *config); bool config_diff(struct blob_attr **tb1, struct blob_attr **tb2, diff --git a/main.c b/main.c index 42f50a3..f180c30 100644 --- a/main.c +++ b/main.c @@ -238,7 +238,7 @@ static void netifd_do_restart(struct uloop_timeout *timeout) static void netifd_do_reload(struct uloop_timeout *timeout) { - config_init_interfaces(); + config_init_all(); } static struct uloop_timeout main_timer; @@ -358,7 +358,7 @@ int main(int argc, char **argv) return 1; } - config_init_interfaces(); + config_init_all(); uloop_run(); netifd_kill_processes(); -- 2.25.1