diff options
author | Martin Mares <mj@ucw.cz> | 1998-04-28 14:39:34 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-04-28 14:39:34 +0000 |
commit | 1feea03e7463d8eaeb00d5df6c2cd3e8e20f2bcd (patch) | |
tree | 70ba86e2c60b759f7740c0d28e6abdaaf60241ea /lib | |
parent | c40e05a0dffa33a8724e56121a2b6dcdfa9183e0 (diff) |
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ip.h | 4 | ||||
-rw-r--r-- | lib/ipv4.h | 2 | ||||
-rw-r--r-- | lib/lists.c | 4 | ||||
-rw-r--r-- | lib/resource.h | 2 | ||||
-rw-r--r-- | lib/socket.h | 2 | ||||
-rw-r--r-- | lib/timer.h | 2 |
6 files changed, 8 insertions, 8 deletions
@@ -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 @@ -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)) diff --git a/lib/lists.c b/lib/lists.c index 321a5f05..55c2b0fd 100644 --- a/lib/lists.c +++ b/lib/lists.c @@ -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) diff --git a/lib/resource.h b/lib/resource.h index a1d229ec..eabc963d 100644 --- a/lib/resource.h +++ b/lib/resource.h @@ -9,7 +9,7 @@ #ifndef _BIRD_RESOURCE_H_ #define _BIRD_RESOURCE_H_ -#include <lib/lists.h> +#include "lib/lists.h" /* Resource */ diff --git a/lib/socket.h b/lib/socket.h index 4f68a161..f1c9a64f 100644 --- a/lib/socket.h +++ b/lib/socket.h @@ -9,7 +9,7 @@ #ifndef _BIRD_SOCKET_H_ #define _BIRD_SOCKET_H_ -#include <lib/resource.h> +#include "lib/resource.h" typedef struct birdsock socket; diff --git a/lib/timer.h b/lib/timer.h index 29f20c4b..506e3c94 100644 --- a/lib/timer.h +++ b/lib/timer.h @@ -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; |