1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Changed #include <x/y> to #include "x/y" for our local includes, so that

gcc -MM can be used to separate them from the system ones.

Added automatic generation of dependencies.
This commit is contained in:
Martin Mares
1998-04-28 14:39:34 +00:00
parent c40e05a0df
commit 1feea03e74
14 changed files with 48 additions and 24 deletions

View File

@@ -10,9 +10,9 @@
#define _BIRD_IP_H_
#ifndef IPV6
#include <lib/ipv4.h>
#include "ipv4.h"
#else
#include <lib/ipv6.h>
#include "ipv6.h"
#endif
#endif

View File

@@ -18,7 +18,7 @@ typedef struct ipv4_addr {
#define _I(x) (x).addr
#define _MI(x) ((struct ip_addr) { x })
#define IPA_NONE(_MI(0))
#define IPA_NONE (_MI(0))
#define ipa_equal(x,y) (_I(x) == _I(y))
#define ipa_and(x,y) _MI(_I(x) & _I(y))

View File

@@ -8,8 +8,8 @@
#define _BIRD_LISTS_C_
#include <nest/bird.h>
#include <lib/lists.h>
#include "nest/bird.h"
#include "lib/lists.h"
LIST_INLINE void
add_tail(list *l, node *n)

View File

@@ -9,7 +9,7 @@
#ifndef _BIRD_RESOURCE_H_
#define _BIRD_RESOURCE_H_
#include <lib/lists.h>
#include "lib/lists.h"
/* Resource */

View File

@@ -9,7 +9,7 @@
#ifndef _BIRD_SOCKET_H_
#define _BIRD_SOCKET_H_
#include <lib/resource.h>
#include "lib/resource.h"
typedef struct birdsock socket;

View File

@@ -9,7 +9,7 @@
#ifndef _BIRD_TIMER_H_
#define _BIRD_TIMER_H_
#include <lib/resource.h>
#include "lib/resource.h"
typedef struct timer {
resource r;