From: Alan T. DeKok Date: Fri, 10 Jul 2015 13:02:12 +0000 (-0400) Subject: Move check_config to conffile.c X-Git-Tag: release_3_0_10~360 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14831cf5ecf2ac2bc701376eddfddf329b7252b0;p=thirdparty%2Ffreeradius-server.git Move check_config to conffile.c config things should arguably be here... --- diff --git a/src/include/conffile.h b/src/include/conffile.h index 973c1fc6cb4..fe0cd90addb 100644 --- a/src/include/conffile.h +++ b/src/include/conffile.h @@ -160,6 +160,8 @@ do {\ }\ } while (0) +extern bool check_config; + /** Defines a #CONF_PAIR to C data type mapping * * Is typically used to define mappings between module sections, and module instance structs. diff --git a/src/include/radiusd.h b/src/include/radiusd.h index b7d13ac9c4e..a7e3fa6fd19 100644 --- a/src/include/radiusd.h +++ b/src/include/radiusd.h @@ -541,7 +541,6 @@ void thread_pool_queue_stats(int array[RAD_LISTEN_MAX], int pps[2]); /* main_config.c */ /* Define a global config structure */ extern bool log_dates_utc; -extern bool check_config; extern main_config_t main_config; extern bool event_loop_started; diff --git a/src/main/conffile.c b/src/main/conffile.c index 3bb7db350bb..d444d3d9da1 100644 --- a/src/main/conffile.c +++ b/src/main/conffile.c @@ -42,6 +42,8 @@ RCSID("$Id$") #include +bool check_config = false; + typedef enum conf_property { CONF_PROPERTY_INVALID = 0, CONF_PROPERTY_NAME,