build: don't export internal symbols
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>
This commit is contained in:
parent
d2a30fbb36
commit
4280dfb85d
7 changed files with 0 additions and 109 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
libnl_3 {
|
||||
global:
|
||||
__bss_start;
|
||||
_edata;
|
||||
_end;
|
||||
_fini;
|
||||
_init;
|
||||
genl_connect;
|
||||
genl_ctrl_alloc_cache;
|
||||
genl_ctrl_resolve;
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
libnl_3 {
|
||||
global:
|
||||
__bss_start;
|
||||
_edata;
|
||||
_end;
|
||||
_fini;
|
||||
_init;
|
||||
idiagnl_attrs2str;
|
||||
idiagnl_connect;
|
||||
idiagnl_exts2str;
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
libnl_3 {
|
||||
global:
|
||||
__bss_start;
|
||||
_edata;
|
||||
_end;
|
||||
_fini;
|
||||
_init;
|
||||
ct_obj_ops;
|
||||
exp_obj_ops;
|
||||
log_msg_obj_ops;
|
||||
|
|
|
@ -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:
|
||||
*;
|
||||
};
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
libnl_3 {
|
||||
global:
|
||||
__bss_start;
|
||||
_edata;
|
||||
_end;
|
||||
_fini;
|
||||
_init;
|
||||
xfrmnl_ae_alloc;
|
||||
xfrmnl_ae_build_get_request;
|
||||
xfrmnl_ae_flags2str;
|
||||
|
|
Loading…
Add table
Reference in a new issue