]> granicus.if.org Git - procps-ng/commitdiff
libprocps: hide private symbols
authorSami Kerola <kerolasa@iki.fi>
Tue, 24 Jan 2012 20:54:01 +0000 (21:54 +0100)
committerSami Kerola <kerolasa@iki.fi>
Tue, 24 Jan 2012 20:54:01 +0000 (21:54 +0100)
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>
proc/libprocps.sym

index ec66312545fe4eaa13063fb751af4646e3394123..141ca85fa91c26861eb7c43f733c95aefad6d4f6 100644 (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:
        *;
 };