check_config is now a bool
authorAlan T. DeKok <aland@freeradius.org>
Wed, 20 Nov 2013 23:04:29 +0000 (18:04 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 20 Nov 2013 23:04:29 +0000 (18:04 -0500)
src/main/listen.c
src/main/process.c
src/modules/proto_dhcp/dhcpd.c

index d21023a..e805501 100644 (file)
@@ -831,7 +831,7 @@ int common_socket_print(rad_listen_t const *this, char *buffer, size_t bufsize)
        return 1;
 }
 
-extern int check_config;       /* radiusd.c */
+extern bool check_config;      /* radiusd.c */
 
 static CONF_PARSER performance_config[] = {
        { "skip_duplicate_checks", PW_TYPE_BOOLEAN,
index 6e3ed3e..e517715 100644 (file)
@@ -44,7 +44,7 @@ RCSID("$Id$")
 #endif
 
 extern pid_t radius_pid;
-extern int check_config;
+extern bool check_config;
 extern fr_cond_t *debug_condition;
 
 static int spawn_flag = 0;
index d0e2fd3..c87a337 100644 (file)
@@ -56,7 +56,7 @@
 #include <sys/ioctl.h>
 #endif
 
-extern int check_config;       /* @todo globals are bad, m'kay? */
+extern bool check_config;      /* @todo globals are bad, m'kay? */
 
 /*
  *     Same contents as listen_socket_t.