Massively cleaned up #include's, so they're in a consistent
[freeradius.git] / src / main / smux.c
index 78c4c1f..345db34 100644 (file)
  *
  *   You should have received a copy of the GNU General Public License
  *   along with this program; if not, write to the Free Software
- *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  *
- * Copyright 2000  The FreeRADIUS server project
+ * Copyright 2000,2006  The FreeRADIUS server project
  * Copyright 1999  Jochen Friedrich <jochen@scram.de>
  * Copyright 1999  Kunihiro Ishiguro <kunihiro@zebra.org>
  */
 
-static const char rcsid[] =
-"$Id$";
+#include <freeradius-devel/ident.h>
+RCSID("$Id$")
 
-#include "autoconf.h"
+#include <freeradius-devel/radiusd.h>
 
 #ifdef WITH_SNMP
 
-#include "libradius.h"
+#include <freeradius-devel/radius_snmp.h>
+#include <freeradius-devel/smux.h>
 
-#include <sys/socket.h>
 #include <sys/file.h>
 
-#ifdef HAVE_NETINET_IN_H
-#include <netinet/in.h>
-#endif
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <netdb.h>
 #include <fcntl.h>
 #include <ctype.h>
 
-#include "radiusd.h"
-#include "radius_snmp.h"
-#include "smux.h"
-
 #define min(A,B) ((A) < (B) ? (A) : (B))
 
 
@@ -1093,7 +1081,7 @@ smux_init (oid defoid[], size_t defoid_len)
 
 /* Register subtree to smux master tree. */
 void
-smux_register_mib(const char *descr, struct variable *var, size_t width,
+smux_register_mib(UNUSED const char *descr, struct variable *var, size_t width,
                int num, oid name[], size_t namelen)
 {
        struct subtree *tree, *tt;