libprocps: hide private symbols

Clean the global list of symbols contain only functions and variables which
are being called from library.  The removed symbols are internal for the
library, which means they can be changed without changes to programs using
the library.  This clean up should help incoming libprocps clean up work.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2012-01-24 21:54:01 +01:00
parent 8955ec26fe
commit ea221b4e42

View File

@ -1,8 +1,6 @@
LIBPROCPS_0 {
global:
Hertz;
__cyg_profile_func_enter;
__cyg_profile_func_exit;
closeproc;
cpuinfo;
dev_to_tty;
@ -12,16 +10,13 @@ global:
escape_strlist;
escaped_copy;
free_slabinfo;
freeproc;
get_pid_digits;
get_proc_stats;
get_slabinfo;
getbtime;
getdiskstat;
getpartitions_num;
getslabinfo;
getstat;
have_privs;
kb_active;
kb_high_free;
kb_high_total;
@ -41,17 +36,14 @@ global:
loadavg;
look_up_our_self;
lookup_wchan;
main;
meminfo;
open_psdb;
open_psdb_message;
openproc;
pretty_print_signals;
print_given_signals;
print_uptime;
procps_version;
put_slabinfo;
read_cmdline;
readeither;
readproc;
readproctab2;
@ -67,11 +59,6 @@ global:
unix_print_signals;
uptime;
user_from_uid;
vm_pgpgin;
vm_pgpgout;
vm_pswpin;
vm_pswpout;
vminfo;
local:
*;
};