]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Move check_config to conffile.c
authorAlan T. DeKok <aland@freeradius.org>
Fri, 10 Jul 2015 13:02:12 +0000 (09:02 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 10 Jul 2015 13:02:12 +0000 (09:02 -0400)
config things should arguably be here...

src/include/conffile.h
src/include/radiusd.h
src/main/conffile.c

index 973c1fc6cb4c9157f01417153c678c2933134c37..fe0cd90addbbc2a70ab8e7dda8aa879bbcb667cb 100644 (file)
@@ -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.
index b7d13ac9c4e05bf17104610c25f8b5c27cc946a7..a7e3fa6fd197b70728bcfed361d1c0e55c9acbcb 100644 (file)
@@ -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;
 
index 3bb7db350bbe21b4b8beb3ffed90ffc0043cec75..d444d3d9da1340eadf74a7f2e2140e86abc57c66 100644 (file)
@@ -42,6 +42,8 @@ RCSID("$Id$")
 
 #include <ctype.h>
 
+bool check_config = false;
+
 typedef enum conf_property {
        CONF_PROPERTY_INVALID = 0,
        CONF_PROPERTY_NAME,