]> git.ipfire.org Git - thirdparty/libnl.git/commitdiff
build: don't export internal symbols
authorThomas Haller <thaller@redhat.com>
Sun, 4 Jan 2015 16:24:40 +0000 (17:24 +0100)
committerThomas Haller <thaller@redhat.com>
Mon, 2 Feb 2015 16:28:06 +0000 (17:28 +0100)
Hide internal symbols from the libraries.
Before, all symbols were exported, including some that were
not meant to be public. Hide them now.

This is an ABI break, but nobody was supposed to use these symbols.
Hence it seems acceptable to hide them now.

Still don't hide any symbols that are internal, but wrongly exported
in public header files (such as @ct_obj_ops).

Signed-off-by: Thomas Haller <thaller@redhat.com>
libnl-3.sym
libnl-cli-3.sym
libnl-genl-3.sym
libnl-idiag-3.sym
libnl-nf-3.sym
libnl-route-3.sym
libnl-xfrm-3.sym

index 88dc96d167e33d11968761ceb47440cddebd0b5f..d84a54b9934da85b128c693033f2abd5dbaab02f 100644 (file)
@@ -1,6 +1,5 @@
 libnl_3 {
 global:
-       __bss_start;
        __flags2str;
        __list_str2type;
        __list_type2str;
@@ -11,11 +10,6 @@ global:
        __trans_list_add;
        __trans_list_clear;
        __type2str;
-       _edata;
-       _end;
-       _fini;
-       _init;
-       dump_from_ops;
        nl_addr2str;
        nl_addr_alloc;
        nl_addr_alloc_attr;
index d96ba329152d438efd5b63ea6f9253ea1de8c897..3d433f642af94ea2691d010efc3ef5fa673b3e73 100644 (file)
@@ -1,10 +1,5 @@
 libnl_3 {
 global:
-       __bss_start;
-       _edata;
-       _end;
-       _fini;
-       _init;
        nl_cli_addr_alloc;
        nl_cli_addr_parse;
        nl_cli_addr_parse_broadcast;
index 5897f8223e5a5ba6d2afa847843b9d3a6d6d8806..291f83f68a191110b6f36b7b92f2432ec14f00b6 100644 (file)
@@ -1,10 +1,5 @@
 libnl_3 {
 global:
-       __bss_start;
-       _edata;
-       _end;
-       _fini;
-       _init;
        genl_connect;
        genl_ctrl_alloc_cache;
        genl_ctrl_resolve;
index 90aac631661ed10341ff521dd5790fe4ed399907..9fb50957f2a2ca27bd66f0df8dab5a1c69d6bbc0 100644 (file)
@@ -1,10 +1,5 @@
 libnl_3 {
 global:
-       __bss_start;
-       _edata;
-       _end;
-       _fini;
-       _init;
        idiagnl_attrs2str;
        idiagnl_connect;
        idiagnl_exts2str;
index 3572b89d748b320430ad74ab2cb31aba2636198c..190a2fdc87d1f905c846c96d1d4d8e4a3174d55c 100644 (file)
@@ -1,10 +1,5 @@
 libnl_3 {
 global:
-       __bss_start;
-       _edata;
-       _end;
-       _fini;
-       _init;
        ct_obj_ops;
        exp_obj_ops;
        log_msg_obj_ops;
index 9f6cae0869fd7f1cc55bc59b82e6e65a951ae4c3..7ce2e3852a52fc44faa9fd2e8ff076ea5b3128ff 100644 (file)
@@ -1,44 +1,5 @@
 libnl_3 {
 global:
-       __bss_start;
-       _edata;
-       _end;
-       _fini;
-       _init;
-       ematch__create_buffer;
-       ematch__delete_buffer;
-       ematch__flush_buffer;
-       ematch__scan_buffer;
-       ematch__scan_bytes;
-       ematch__scan_string;
-       ematch__switch_to_buffer;
-       ematch_alloc;
-       ematch_free;
-       ematch_get_column;
-       ematch_get_debug;
-       ematch_get_extra;
-       ematch_get_in;
-       ematch_get_leng;
-       ematch_get_lineno;
-       ematch_get_lval;
-       ematch_get_out;
-       ematch_get_text;
-       ematch_lex;
-       ematch_lex_destroy;
-       ematch_lex_init;
-       ematch_lex_init_extra;
-       ematch_parse;
-       ematch_pop_buffer_state;
-       ematch_push_buffer_state;
-       ematch_realloc;
-       ematch_restart;
-       ematch_set_column;
-       ematch_set_debug;
-       ematch_set_extra;
-       ematch_set_in;
-       ematch_set_lineno;
-       ematch_set_lval;
-       ematch_set_out;
        flnl_lookup;
        flnl_lookup_build_request;
        flnl_request_alloc;
@@ -68,42 +29,6 @@ global:
        nl_str2ovl_strategy;
        nl_str2police;
        nl_str2rtntype;
-       pktloc__create_buffer;
-       pktloc__delete_buffer;
-       pktloc__flush_buffer;
-       pktloc__scan_buffer;
-       pktloc__scan_bytes;
-       pktloc__scan_string;
-       pktloc__switch_to_buffer;
-       pktloc_alloc;
-       pktloc_free;
-       pktloc_get_column;
-       pktloc_get_debug;
-       pktloc_get_extra;
-       pktloc_get_in;
-       pktloc_get_leng;
-       pktloc_get_lineno;
-       pktloc_get_lloc;
-       pktloc_get_lval;
-       pktloc_get_out;
-       pktloc_get_text;
-       pktloc_lex;
-       pktloc_lex_destroy;
-       pktloc_lex_init;
-       pktloc_lex_init_extra;
-       pktloc_parse;
-       pktloc_pop_buffer_state;
-       pktloc_push_buffer_state;
-       pktloc_realloc;
-       pktloc_restart;
-       pktloc_set_column;
-       pktloc_set_debug;
-       pktloc_set_extra;
-       pktloc_set_in;
-       pktloc_set_lineno;
-       pktloc_set_lloc;
-       pktloc_set_lval;
-       pktloc_set_out;
        route_obj_ops;
        rtln_link_policy;
        rtnl_act_add;
@@ -897,9 +822,6 @@ global:
        rtnl_u32_set_hashmask;
        rtnl_u32_set_hashtable;
        rtnl_u32_set_link;
-       tc_groups;
-       tca_parse;
-       tca_set_kind;
 local:
        *;
 };
index 7f361cfd867bf93f39e7538a00c18493c492f050..3706f33d2ea062fe21d17c06e443a67dc5d9a094 100644 (file)
@@ -1,10 +1,5 @@
 libnl_3 {
 global:
-       __bss_start;
-       _edata;
-       _end;
-       _fini;
-       _init;
        xfrmnl_ae_alloc;
        xfrmnl_ae_build_get_request;
        xfrmnl_ae_flags2str;