]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
Revert "lib: bump ABI"
authorVincent Bernat <vincent@bernat.im>
Sat, 11 Jul 2015 20:30:40 +0000 (22:30 +0200)
committerVincent Bernat <vincent@bernat.im>
Sat, 11 Jul 2015 20:30:40 +0000 (22:30 +0200)
This reverts commit 8ee9bc2cec66b080746372e0a7b5f3ec1363b694. Thanks to
the compatibility layer, we can only do a minor ABI bump.

src/lib/Makefile.am
src/lib/lldpctl.map

index 43a202061cf03e9025e7f51759583852ee7bfa6d..9f5e89dea1405da723123b81583d45625d690d43 100644 (file)
@@ -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
index 28eb7a715433d35799300582f11693a12ac59d38..c8f46d5df3ed2279ae4f2a5291aee710df256bce 100644 (file)
@@ -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;