From: Vincent Bernat Date: Sat, 11 Jul 2015 20:30:40 +0000 (+0200) Subject: Revert "lib: bump ABI" X-Git-Tag: 0.7.16~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=228d3af6fec9818cb7746b5b4b4e41c9fa6c8ad2;p=thirdparty%2Flldpd.git Revert "lib: bump ABI" This reverts commit 8ee9bc2cec66b080746372e0a7b5f3ec1363b694. Thanks to the compatibility layer, we can only do a minor ABI bump. --- diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index 43a20206..9f5e89de 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:0 +liblldpctl_la_LDFLAGS = $(AM_LDFLAGS) -version-info 11:0:7 liblldpctl_la_DEPENDENCIES = libfixedpoint.la if HAVE_LD_VERSION_SCRIPT diff --git a/src/lib/lldpctl.map b/src/lib/lldpctl.map index 28eb7a71..c8f46d5d 100644 --- a/src/lib/lldpctl.map +++ b/src/lib/lldpctl.map @@ -1,6 +1,10 @@ -LIBLLDPCTL_11.0 { +LIBLLDPCTL_4.7 { global: lldpctl_get_local_chassis; +}; + +LIBLLDPCTL_4.6 { + global: lldpctl_atom_create; lldpctl_atom_dec_ref; lldpctl_atom_get; @@ -16,10 +20,6 @@ LIBLLDPCTL_11.0 { 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;