Skip to content

Commit

Permalink
Remove redundant headers
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Aug 15, 2013
1 parent d64b4a7 commit 4bc52eb
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 48 deletions.
4 changes: 0 additions & 4 deletions src/main/command.c
Expand Up @@ -24,11 +24,7 @@
#ifdef WITH_COMMAND_SOCKET

#include <freeradius-devel/modpriv.h>
#include <freeradius-devel/conffile.h>
#include <freeradius-devel/stats.h>
#include <freeradius-devel/realms.h>
#include <freeradius-devel/parser.h>
#include <freeradius-devel/log.h>

#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
Expand Down
3 changes: 0 additions & 3 deletions src/main/connection.c
Expand Up @@ -26,9 +26,6 @@
RCSID("$Id$")

#include <freeradius-devel/radiusd.h>

#include <freeradius-devel/connection.h>

#include <freeradius-devel/rad_assert.h>

typedef struct fr_connection fr_connection_t;
Expand Down
1 change: 0 additions & 1 deletion src/main/log.c
Expand Up @@ -26,7 +26,6 @@
RCSID("$Id$")

#include <freeradius-devel/radiusd.h>
#include <freeradius-devel/log.h>

#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
Expand Down
1 change: 0 additions & 1 deletion src/main/mainconfig.c
Expand Up @@ -25,7 +25,6 @@ RCSID("$Id$")

#include <freeradius-devel/radiusd.h>
#include <freeradius-devel/modules.h>
#include <freeradius-devel/log.h>
#include <freeradius-devel/rad_assert.h>

#include <sys/stat.h>
Expand Down
2 changes: 0 additions & 2 deletions src/main/process.c
Expand Up @@ -28,8 +28,6 @@ RCSID("$Id$")

#include <freeradius-devel/radiusd.h>
#include <freeradius-devel/process.h>
#include <freeradius-devel/event.h>
#include <freeradius-devel/packet.h>
#include <freeradius-devel/modules.h>

#include <freeradius-devel/rad_assert.h>
Expand Down
3 changes: 0 additions & 3 deletions src/main/radattr.c
Expand Up @@ -26,7 +26,6 @@ RCSID("$Id$")
#include <freeradius-devel/parser.h>
#include <freeradius-devel/conf.h>

#include <talloc.h>
#include <ctype.h>

#ifdef HAVE_GETOPT_H
Expand All @@ -43,8 +42,6 @@ log_debug_t debug_flag = 0;
/**********************************************************************
* Hacks for xlat
*/
#include <stdarg.h>

typedef size_t (*RADIUS_ESCAPE_STRING)(REQUEST *, char *out, size_t outlen, char const *in, void *arg);
typedef ssize_t (*RAD_XLAT_FUNC)(void *instance, REQUEST *, char const *, char *, size_t);
int xlat_register(char const *module, RAD_XLAT_FUNC func, RADIUS_ESCAPE_STRING escape,
Expand Down
1 change: 0 additions & 1 deletion src/main/radiusd.c
Expand Up @@ -29,7 +29,6 @@ RCSID("$Id$")

#include <freeradius-devel/radiusd.h>
#include <freeradius-devel/modules.h>
#include <freeradius-devel/log.h>
#include <freeradius-devel/rad_assert.h>

#include <sys/file.h>
Expand Down
8 changes: 0 additions & 8 deletions src/main/radmin.c
Expand Up @@ -25,14 +25,6 @@ RCSID("$Id$")

#include <freeradius-devel/radiusd.h>

#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif

#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif

#ifdef HAVE_SYS_UN_H
#include <sys/un.h>
#ifndef SUN_LEN
Expand Down
25 changes: 0 additions & 25 deletions src/main/realms.c
Expand Up @@ -31,31 +31,6 @@ RCSID("$Id$")
#include <ctype.h>
#include <fcntl.h>

#ifdef HAVE_PCREPOSIX_H
#include <pcreposix.h>
#else
#ifdef HAVE_REGEX_H
#include <regex.h>

/*
* For POSIX Regular expressions.
* (0) Means no extended regular expressions.
* REG_EXTENDED means use extended regular expressions.
*/
#ifndef REG_EXTENDED
#define REG_EXTENDED (0)
#endif

#ifndef REG_NOSUB
#define REG_NOSUB (0)
#endif

#ifndef REG_ICASE
#define REG_ICASE (0)
#endif
#endif
#endif

static rbtree_t *realms_byname = NULL;

#ifdef HAVE_REGEX_H
Expand Down

0 comments on commit 4bc52eb

Please sign in to comment.