From: Alexandru Ardelean Date: Wed, 1 Apr 2015 09:08:05 +0000 (+0300) Subject: lib/private.h: rename to atom.h X-Git-Tag: 0.7.15~47^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a5f987172cbe7c325877a7c446c877098cc36b52;p=thirdparty%2Flldpd.git lib/private.h: rename to atom.h Makes sense to have it named like this now. Would have been a bit nicer to do it earlier, but now should be fine too. Signed-off-by: Alexandru Ardelean --- diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index ac916058..0bbd3368 100644 --- a/src/lib/Makefile.am +++ b/src/lib/Makefile.am @@ -9,7 +9,7 @@ noinst_LTLIBRARIES = libfixedpoint.la libfixedpoint_la_SOURCES = fixedpoint.h fixedpoint.c liblldpctl_la_SOURCES = \ - lldpctl.h private.h errors.c connection.c atom.c helpers.c helpers.h \ + lldpctl.h atom.h errors.c connection.c atom.c helpers.c helpers.h \ atom-private.c \ atoms/config.c atoms/dot1.c atoms/dot3.c \ atoms/interface.c atoms/med.c atoms/mgmt.c atoms/port.c diff --git a/src/lib/atom-private.c b/src/lib/atom-private.c index 13bfcf77..4fbebd4c 100644 --- a/src/lib/atom-private.c +++ b/src/lib/atom-private.c @@ -23,7 +23,7 @@ #include "lldpctl.h" #include "../lldpd-structs.h" #include "../log.h" -#include "private.h" +#include "atom.h" #include "fixedpoint.h" static lldpctl_map_t empty_map[] = {{ 0, NULL }}; diff --git a/src/lib/atom.c b/src/lib/atom.c index 1d7c741e..2e620e62 100644 --- a/src/lib/atom.c +++ b/src/lib/atom.c @@ -18,7 +18,7 @@ #include #include #include "lldpctl.h" -#include "private.h" +#include "atom.h" #include "../marshal.h" #include "../ctl.h" #include "../lldpd-structs.h" diff --git a/src/lib/private.h b/src/lib/atom.h similarity index 100% rename from src/lib/private.h rename to src/lib/atom.h diff --git a/src/lib/atoms/config.c b/src/lib/atoms/config.c index b85bb988..46388c36 100644 --- a/src/lib/atoms/config.c +++ b/src/lib/atoms/config.c @@ -23,7 +23,7 @@ #include "../lldpctl.h" #include "../lldpd-structs.h" #include "../log.h" -#include "private.h" +#include "atom.h" #include "helpers.h" static struct atom_map bond_slave_src_mac_map = { diff --git a/src/lib/atoms/dot1.c b/src/lib/atoms/dot1.c index 45f2ad8a..b78aaa49 100644 --- a/src/lib/atoms/dot1.c +++ b/src/lib/atoms/dot1.c @@ -23,7 +23,7 @@ #include "lldpctl.h" #include "../lldpd-structs.h" #include "../log.h" -#include "private.h" +#include "atom.h" #include "helpers.h" #ifdef ENABLE_DOT1 diff --git a/src/lib/atoms/dot3.c b/src/lib/atoms/dot3.c index be2829d9..d3fced95 100644 --- a/src/lib/atoms/dot3.c +++ b/src/lib/atoms/dot3.c @@ -23,7 +23,7 @@ #include "lldpctl.h" #include "../lldpd-structs.h" #include "../log.h" -#include "private.h" +#include "atom.h" #include "helpers.h" #ifdef ENABLE_DOT3 diff --git a/src/lib/atoms/interface.c b/src/lib/atoms/interface.c index 3415f49d..cd0b5ca4 100644 --- a/src/lib/atoms/interface.c +++ b/src/lib/atoms/interface.c @@ -23,7 +23,7 @@ #include "lldpctl.h" #include "../lldpd-structs.h" #include "../log.h" -#include "private.h" +#include "atom.h" #include "helpers.h" static int diff --git a/src/lib/atoms/med.c b/src/lib/atoms/med.c index 11a79b42..905f8146 100644 --- a/src/lib/atoms/med.c +++ b/src/lib/atoms/med.c @@ -23,7 +23,7 @@ #include "lldpctl.h" #include "../lldpd-structs.h" #include "../log.h" -#include "private.h" +#include "atom.h" #include "helpers.h" #include "fixedpoint.h" diff --git a/src/lib/atoms/mgmt.c b/src/lib/atoms/mgmt.c index 5e2aff7d..538893a0 100644 --- a/src/lib/atoms/mgmt.c +++ b/src/lib/atoms/mgmt.c @@ -23,7 +23,7 @@ #include "lldpctl.h" #include "../lldpd-structs.h" #include "../log.h" -#include "private.h" +#include "atom.h" #include "helpers.h" static int diff --git a/src/lib/atoms/port.c b/src/lib/atoms/port.c index 4d46d0bf..bfa6a18d 100644 --- a/src/lib/atoms/port.c +++ b/src/lib/atoms/port.c @@ -23,7 +23,7 @@ #include "lldpctl.h" #include "../lldpd-structs.h" #include "../log.h" -#include "private.h" +#include "atom.h" #include "helpers.h" static struct atom_map lldpd_protocol_map = { diff --git a/src/lib/connection.c b/src/lib/connection.c index 5aa4c510..a47cdfa9 100644 --- a/src/lib/connection.c +++ b/src/lib/connection.c @@ -22,7 +22,7 @@ #include #include "lldpctl.h" -#include "private.h" +#include "atom.h" #include "../compat/compat.h" #include "../ctl.h" #include "../log.h" diff --git a/src/lib/errors.c b/src/lib/errors.c index 140630b6..33860b1b 100644 --- a/src/lib/errors.c +++ b/src/lib/errors.c @@ -16,7 +16,7 @@ */ #include "lldpctl.h" -#include "private.h" +#include "atom.h" #include "../log.h" const char* diff --git a/src/lib/helpers.c b/src/lib/helpers.c index 04967ebf..a45f31ef 100644 --- a/src/lib/helpers.c +++ b/src/lib/helpers.c @@ -23,7 +23,7 @@ #include "lldpctl.h" #include "../lldpd-structs.h" #include "../log.h" -#include "private.h" +#include "atom.h" #include "helpers.h" const char*