From 8ee9bc2cec66b080746372e0a7b5f3ec1363b694 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 11 Jul 2015 20:41:44 +0200 Subject: [PATCH] lib: bump ABI Due to the absence of compatibility layer, all atom-related functions are considered incompatible since they don't work on ports like they used too. This is not strictly an ABI incompatibility, but we consider the change important enough to do like it was. This commit will be reverted once the compatibility layer is here. --- src/lib/Makefile.am | 2 +- src/lib/lldpctl.map | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index 9f5e89de..43a20206 100644 --- a/src/lib/Makefile.am +++ b/src/lib/Makefile.am @@ -21,7 +21,7 @@ liblldpctl_la_LIBADD = $(top_builddir)/src/libcommon-daemon-lib.la libfixedpoin # -version-number could be computed from -version-info, mostly major # is `current` - `age`, minor is `age` and revision is `revision' and # major.minor should be used when updaing lldpctl.map. -liblldpctl_la_LDFLAGS = $(AM_LDFLAGS) -version-info 11:0:7 +liblldpctl_la_LDFLAGS = $(AM_LDFLAGS) -version-info 11:0:0 liblldpctl_la_DEPENDENCIES = libfixedpoint.la if HAVE_LD_VERSION_SCRIPT diff --git a/src/lib/lldpctl.map b/src/lib/lldpctl.map index c8f46d5d..28eb7a71 100644 --- a/src/lib/lldpctl.map +++ b/src/lib/lldpctl.map @@ -1,10 +1,6 @@ -LIBLLDPCTL_4.7 { +LIBLLDPCTL_11.0 { global: lldpctl_get_local_chassis; -}; - -LIBLLDPCTL_4.6 { - global: lldpctl_atom_create; lldpctl_atom_dec_ref; lldpctl_atom_get; @@ -20,6 +16,10 @@ LIBLLDPCTL_4.6 { lldpctl_atom_set_buffer; lldpctl_atom_set_int; lldpctl_atom_set_str; +}; + +LIBLLDPCTL_4.6 { + global: lldpctl_get_configuration; lldpctl_get_default_transport; lldpctl_get_interfaces; -- 2.39.5