From: Alexandru Ardelean Date: Fri, 10 Apr 2015 07:47:50 +0000 (+0300) Subject: lib: move lldpd-structs.h include into atom.h X-Git-Tag: 0.7.15~25^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=86f4c1ef8be40521292ad14e926c0f9d7302c469;p=thirdparty%2Flldpd.git lib: move lldpd-structs.h include into atom.h Signed-off-by: Alexandru Ardelean --- diff --git a/src/lib/atom.c b/src/lib/atom.c index a7efd6a1..df181a79 100644 --- a/src/lib/atom.c +++ b/src/lib/atom.c @@ -22,7 +22,6 @@ #include "../log.h" #include "../marshal.h" #include "../ctl.h" -#include "../lldpd-structs.h" lldpctl_conn_t* lldpctl_atom_get_connection(lldpctl_atom_t *atom) diff --git a/src/lib/atom.h b/src/lib/atom.h index 84a38bf1..1e30712d 100644 --- a/src/lib/atom.h +++ b/src/lib/atom.h @@ -16,6 +16,7 @@ */ #include +#include "../lldpd-structs.h" #include "../compat/compat.h" #include "../marshal.h" #include "../ctl.h" diff --git a/src/lib/atoms/config.c b/src/lib/atoms/config.c index 023b5d5b..5d362349 100644 --- a/src/lib/atoms/config.c +++ b/src/lib/atoms/config.c @@ -21,7 +21,6 @@ #include #include "../lldpctl.h" -#include "../lldpd-structs.h" #include "../log.h" #include "atom.h" #include "helpers.h" diff --git a/src/lib/atoms/dot1.c b/src/lib/atoms/dot1.c index b78aaa49..6a2af2ec 100644 --- a/src/lib/atoms/dot1.c +++ b/src/lib/atoms/dot1.c @@ -21,7 +21,6 @@ #include #include "lldpctl.h" -#include "../lldpd-structs.h" #include "../log.h" #include "atom.h" #include "helpers.h" diff --git a/src/lib/atoms/dot3.c b/src/lib/atoms/dot3.c index d3fced95..9e21abde 100644 --- a/src/lib/atoms/dot3.c +++ b/src/lib/atoms/dot3.c @@ -21,7 +21,6 @@ #include #include "lldpctl.h" -#include "../lldpd-structs.h" #include "../log.h" #include "atom.h" #include "helpers.h" diff --git a/src/lib/atoms/interface.c b/src/lib/atoms/interface.c index cd0b5ca4..d51c0ee6 100644 --- a/src/lib/atoms/interface.c +++ b/src/lib/atoms/interface.c @@ -21,7 +21,6 @@ #include #include "lldpctl.h" -#include "../lldpd-structs.h" #include "../log.h" #include "atom.h" #include "helpers.h" diff --git a/src/lib/atoms/med.c b/src/lib/atoms/med.c index 905f8146..c274d4c9 100644 --- a/src/lib/atoms/med.c +++ b/src/lib/atoms/med.c @@ -21,7 +21,6 @@ #include #include "lldpctl.h" -#include "../lldpd-structs.h" #include "../log.h" #include "atom.h" #include "helpers.h" diff --git a/src/lib/atoms/mgmt.c b/src/lib/atoms/mgmt.c index 538893a0..75fdfe7c 100644 --- a/src/lib/atoms/mgmt.c +++ b/src/lib/atoms/mgmt.c @@ -21,7 +21,6 @@ #include #include "lldpctl.h" -#include "../lldpd-structs.h" #include "../log.h" #include "atom.h" #include "helpers.h" diff --git a/src/lib/atoms/port.c b/src/lib/atoms/port.c index bfa6a18d..1b870ede 100644 --- a/src/lib/atoms/port.c +++ b/src/lib/atoms/port.c @@ -21,7 +21,6 @@ #include #include "lldpctl.h" -#include "../lldpd-structs.h" #include "../log.h" #include "atom.h" #include "helpers.h" diff --git a/src/lib/connection.c b/src/lib/connection.c index a47cdfa9..1465fbcb 100644 --- a/src/lib/connection.c +++ b/src/lib/connection.c @@ -26,7 +26,6 @@ #include "../compat/compat.h" #include "../ctl.h" #include "../log.h" -#include "../lldpd-structs.h" const char* lldpctl_get_default_transport(void) diff --git a/src/lib/helpers.c b/src/lib/helpers.c index a45f31ef..5b87e509 100644 --- a/src/lib/helpers.c +++ b/src/lib/helpers.c @@ -21,7 +21,6 @@ #include #include "lldpctl.h" -#include "../lldpd-structs.h" #include "../log.h" #include "atom.h" #include "helpers.h"