summaryrefslogtreecommitdiffstats
path: root/libnl-3.sym
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-03-04 14:27:14 (GMT)
committerThomas Haller <thaller@redhat.com>2015-03-04 16:41:45 (GMT)
commit337af717202e580a1f171c58ef0e33a196d52c73 (patch)
tree088ee4dc5d1ee69c61e79590e9b0192e33a9a5c9 /libnl-3.sym
parente89aec9bc13c18f7da7b5683d02d7ddfc45edb92 (diff)
downloadlibnl-337af717202e580a1f171c58ef0e33a196d52c73.zip
libnl-337af717202e580a1f171c58ef0e33a196d52c73.tar.gz
libnl-337af717202e580a1f171c58ef0e33a196d52c73.tar.bz2
build/trivial: reorder symbols in linker version scripts and add comment
We export some symbols that are in private headers. We shouldn't do that. Highlight them in the version script by grouping them and add a comment. We might want to hide these symbols later. Some of these symbols symbols are used by libnl internal libraries. So removing those is more complicated and only possible if we don't required compatibility of different libnl libraries between each other (i.e. that we require that within one installation the library versions match). Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'libnl-3.sym')
-rw-r--r--libnl-3.sym18
1 files changed, 14 insertions, 4 deletions
diff --git a/libnl-3.sym b/libnl-3.sym
index d84a54b..df61001 100644
--- a/libnl-3.sym
+++ b/libnl-3.sym
@@ -1,15 +1,28 @@
libnl_3 {
global:
+ # these functions are in private header files and should have never
+ # been exported. We might hide them later.
+ nl_cache_parse;
+
+ # these functions are in private header files and should have never
+ # been exported. They are used by libnl internals
__flags2str;
__list_str2type;
__list_type2str;
- __nl_cache_mngt_require;
__nl_read_num_str_file;
__str2flags;
__str2type;
__trans_list_add;
__trans_list_clear;
__type2str;
+
+ # internal symbols that are in public headers
+ __nl_cache_mngt_require;
+
+ # variables
+ nl_debug;
+ nl_debug_dp;
+
nl_addr2str;
nl_addr_alloc;
nl_addr_alloc_attr;
@@ -82,7 +95,6 @@ global:
nl_cache_ops_lookup_safe;
nl_cache_ops_put;
nl_cache_ops_set_flags;
- nl_cache_parse;
nl_cache_parse_and_add;
nl_cache_pickup;
nl_cache_put;
@@ -119,8 +131,6 @@ global:
nl_data_free;
nl_data_get;
nl_data_get_size;
- nl_debug;
- nl_debug_dp;
nl_dump;
nl_dump_line;
nl_ether_proto2str;