diff options
author | Jorge Boncompte <jbonor@gmail.com> | 2017-08-07 11:47:51 +0200 |
---|---|---|
committer | Jorge Boncompte <jbonor@gmail.com> | 2017-08-17 17:47:05 +0200 |
commit | cd85bc2e0bd8657cb2555fe8d631a2b0d916588e (patch) | |
tree | 9c549835fa34d4f357466a810df244d9221f667f /ldpd | |
parent | lib: inline route_node_lock()/route_node_unlock() (diff) | |
download | frr-cd85bc2e0bd8657cb2555fe8d631a2b0d916588e.tar.xz frr-cd85bc2e0bd8657cb2555fe8d631a2b0d916588e.zip |
lib: standardize use of queue.h
The simple queue implementation in OpenBSD and FreeBSD are called diferently,
standardize in the use of the FreeBSD version and map the missing names only
if we compile on OpenBSD.
Signed-off-by: Jorge Boncompte <jbonor@gmail.com>
Diffstat (limited to 'ldpd')
-rw-r--r-- | ldpd/control.h | 2 | ||||
-rw-r--r-- | ldpd/lde.h | 2 | ||||
-rw-r--r-- | ldpd/ldpd.h | 2 | ||||
-rw-r--r-- | ldpd/ldpe.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/ldpd/control.h b/ldpd/control.h index 0e66a1636..23edb5f24 100644 --- a/ldpd/control.h +++ b/ldpd/control.h @@ -19,7 +19,7 @@ #ifndef _CONTROL_H_ #define _CONTROL_H_ -#include "openbsd-queue.h" +#include "queue.h" struct ctl_conn { TAILQ_ENTRY(ctl_conn) entry; diff --git a/ldpd/lde.h b/ldpd/lde.h index 43f1d3648..94077d163 100644 --- a/ldpd/lde.h +++ b/ldpd/lde.h @@ -21,7 +21,7 @@ #ifndef _LDE_H_ #define _LDE_H_ -#include "openbsd-queue.h" +#include "queue.h" #include "openbsd-tree.h" #include "if.h" diff --git a/ldpd/ldpd.h b/ldpd/ldpd.h index 31d0bc69b..5580ea5d6 100644 --- a/ldpd/ldpd.h +++ b/ldpd/ldpd.h @@ -22,7 +22,7 @@ #ifndef _LDPD_H_ #define _LDPD_H_ -#include "openbsd-queue.h" +#include "queue.h" #include "openbsd-tree.h" #include "imsg.h" #include "thread.h" diff --git a/ldpd/ldpe.h b/ldpd/ldpe.h index 74f6b852b..ccff1e803 100644 --- a/ldpd/ldpe.h +++ b/ldpd/ldpe.h @@ -21,7 +21,7 @@ #ifndef _LDPE_H_ #define _LDPE_H_ -#include "openbsd-queue.h" +#include "queue.h" #include "openbsd-tree.h" #ifdef __OpenBSD__ #include <net/pfkeyv2.h> |