Build warnings WITHOUT_ACCOUNTING
authorAlan T. DeKok <aland@freeradius.org>
Tue, 7 Jan 2014 19:50:25 +0000 (14:50 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 7 Jan 2014 19:54:28 +0000 (14:54 -0500)
src/modules/rlm_radutmp/rlm_radutmp.c

index fd2651f..41b86b0 100644 (file)
@@ -77,6 +77,8 @@ static const CONF_PARSER module_config[] = {
        { NULL, -1, 0, NULL, NULL }             /* end the list */
 };
 
+
+#ifdef WITH_ACCOUNTING
 /*
  *     Zap all users on a NAS from the radutmp file.
  */
@@ -148,7 +150,6 @@ static NAS_PORT *nas_port_find(NAS_PORT *nas_port_list, uint32_t nasaddr, unsign
 }
 
 
-#ifdef WITH_ACCOUNTING
 /*
  *     Store logins in the RADIUS utmp file.
  */