Move some stray #includes.
This commit is contained in:
parent
3273e32541
commit
03878f1215
2 changed files with 3 additions and 4 deletions
|
@ -21,8 +21,9 @@
|
||||||
#ifndef __TINC_CONF_H__
|
#ifndef __TINC_CONF_H__
|
||||||
#define __TINC_CONF_H__
|
#define __TINC_CONF_H__
|
||||||
|
|
||||||
#include "splay_tree.h"
|
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
|
#include "splay_tree.h"
|
||||||
|
#include "subnet.h"
|
||||||
|
|
||||||
typedef struct config_t {
|
typedef struct config_t {
|
||||||
char *variable;
|
char *variable;
|
||||||
|
@ -31,7 +32,6 @@ typedef struct config_t {
|
||||||
int line;
|
int line;
|
||||||
} config_t;
|
} config_t;
|
||||||
|
|
||||||
#include "subnet.h"
|
|
||||||
|
|
||||||
extern splay_tree_t *config_tree;
|
extern splay_tree_t *config_tree;
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
#define __TINC_SUBNET_H__
|
#define __TINC_SUBNET_H__
|
||||||
|
|
||||||
#include "net.h"
|
#include "net.h"
|
||||||
|
#include "node.h"
|
||||||
|
|
||||||
typedef enum subnet_type_t {
|
typedef enum subnet_type_t {
|
||||||
SUBNET_MAC = 0,
|
SUBNET_MAC = 0,
|
||||||
|
@ -44,8 +45,6 @@ typedef struct subnet_ipv6_t {
|
||||||
int prefixlength;
|
int prefixlength;
|
||||||
} subnet_ipv6_t;
|
} subnet_ipv6_t;
|
||||||
|
|
||||||
#include "node.h"
|
|
||||||
|
|
||||||
typedef struct subnet_t {
|
typedef struct subnet_t {
|
||||||
struct node_t *owner; /* the owner of this subnet */
|
struct node_t *owner; /* the owner of this subnet */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue