summaryrefslogtreecommitdiff
path: root/libnm
diff options
context:
space:
mode:
authorDan Winship <danw@redhat.com>2015-01-15 16:42:26 -0500
committerDan Winship <danw@redhat.com>2015-01-21 12:54:36 -0500
commit6da3b3a5a5acf81a82a7819c3f68cf2b38eff8d2 (patch)
tree5aa8508d70b0cecfa6369b35e6f748e940c4217e /libnm
parent5756c65c6fcbd1bf2f4c11a30ad883d22e549042 (diff)
downloadNetworkManager-6da3b3a5a5acf81a82a7819c3f68cf2b38eff8d2.tar.gz
libnm: fix versioning on new APIs, bump soname
The newly added bond mode APIs in nm-utils will be new in 1.2, so mark them as such in the headers and docs, move them to a new section in libnm.ver. Since we're adding the new section to libnm.ver, this also seems like a good time to bump the soname.
Diffstat (limited to 'libnm')
-rw-r--r--libnm/Makefile.am2
-rw-r--r--libnm/libnm.ver8
2 files changed, 7 insertions, 3 deletions
diff --git a/libnm/Makefile.am b/libnm/Makefile.am
index e8915b4268..2c9d94ef54 100644
--- a/libnm/Makefile.am
+++ b/libnm/Makefile.am
@@ -130,7 +130,7 @@ libnm_la_LIBADD = \
SYMBOL_VIS_FILE=$(srcdir)/libnm.ver
libnm_la_LDFLAGS = -Wl,--version-script=$(SYMBOL_VIS_FILE) \
- -version-info "0:0:0"
+ -version-info "1:0:1"
###
diff --git a/libnm/libnm.ver b/libnm/libnm.ver
index 322d553560..aba84f4a83 100644
--- a/libnm/libnm.ver
+++ b/libnm/libnm.ver
@@ -754,8 +754,6 @@ global:
nm_state_get_type;
nm_utils_ap_mode_security_valid;
nm_utils_bin2hexstr;
- nm_utils_bond_mode_int_to_string;
- nm_utils_bond_mode_string_to_int;
nm_utils_check_virtual_device_compatibility;
nm_utils_escape_ssid;
nm_utils_file_is_certificate;
@@ -846,3 +844,9 @@ global:
local:
*;
};
+
+libnm_1_2_0 {
+global:
+ nm_utils_bond_mode_int_to_string;
+ nm_utils_bond_mode_string_to_int;
+} libnm_1_0_0;