From: Sami Kerola Date: Tue, 24 Jan 2012 20:54:01 +0000 (+0100) Subject: libprocps: hide private symbols X-Git-Tag: v3.3.3~108 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea221b4e4283f8120cd96633ea2f619674a108b1;p=procps-ng 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 --- diff --git a/proc/libprocps.sym b/proc/libprocps.sym index ec663125..141ca85f 100644 --- a/proc/libprocps.sym +++ b/proc/libprocps.sym @@ -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: *; };