summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-04-28 16:39:34 +0200
committerMartin Mares <mj@ucw.cz>1998-04-28 16:39:34 +0200
commit1feea03e7463d8eaeb00d5df6c2cd3e8e20f2bcd (patch)
tree70ba86e2c60b759f7740c0d28e6abdaaf60241ea /lib
parentc40e05a0dffa33a8724e56121a2b6dcdfa9183e0 (diff)
downloadbird-1feea03e7463d8eaeb00d5df6c2cd3e8e20f2bcd.tar
bird-1feea03e7463d8eaeb00d5df6c2cd3e8e20f2bcd.zip
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.h4
-rw-r--r--lib/ipv4.h2
-rw-r--r--lib/lists.c4
-rw-r--r--lib/resource.h2
-rw-r--r--lib/socket.h2
-rw-r--r--lib/timer.h2
6 files changed, 8 insertions, 8 deletions
diff --git a/lib/ip.h b/lib/ip.h
index cd12ded..dc4f8b8 100644
--- a/lib/ip.h
+++ b/lib/ip.h
@@ -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
diff --git a/lib/ipv4.h b/lib/ipv4.h
index e5c1e8c..4b8c44c 100644
--- a/lib/ipv4.h
+++ b/lib/ipv4.h
@@ -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 321a5f0..55c2b0f 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 a1d229e..eabc963 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 4f68a16..f1c9a64 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 29f20c4..506e3c9 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;