]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
lib: bump ABI
authorVincent Bernat <vincent@bernat.im>
Sat, 11 Jul 2015 18:41:44 +0000 (20:41 +0200)
committerVincent Bernat <vincent@bernat.im>
Sat, 11 Jul 2015 20:00:51 +0000 (22:00 +0200)
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
src/lib/lldpctl.map

index 9f5e89dea1405da723123b81583d45625d690d43..43a202061cf03e9025e7f51759583852ee7bfa6d 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:7
+liblldpctl_la_LDFLAGS = $(AM_LDFLAGS) -version-info 11:0:0
 liblldpctl_la_DEPENDENCIES = libfixedpoint.la
 
 if HAVE_LD_VERSION_SCRIPT
index c8f46d5df3ed2279ae4f2a5291aee710df256bce..28eb7a715433d35799300582f11693a12ac59d38 100644 (file)
@@ -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;