diff options
author | Benoît Dejean <benoit@placenet.org> | 2007-04-11 17:52:14 +0000 |
---|---|---|
committer | Benoît Dejean <bdejean@src.gnome.org> | 2007-04-11 17:52:14 +0000 |
commit | aa9fafe5c330373ca456ca7ae0fd156e1a0ac492 (patch) | |
tree | d8aa208fc8bb2a4f971bc89c859ea3af204425e3 /sysdeps/freebsd | |
parent | e0c1214cdd4358fead2507b2bea52519c7bf33a1 (diff) | |
download | libgtop-aa9fafe5c330373ca456ca7ae0fd156e1a0ac492.tar.gz |
Renamed all glibtop_init_xxx functions to _glibtop_init_xxx so they get
2007-04-11 Benoît Dejean <benoit@placenet.org>
* *:
Renamed all glibtop_init_xxx functions
to _glibtop_init_xxx so they get internal visibility.
* configure.in:
Bumped version number.
svn path=/trunk/; revision=2569
Diffstat (limited to 'sysdeps/freebsd')
-rw-r--r-- | sysdeps/freebsd/cpu.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/loadavg.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/mem.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/msg_limits.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/netlist.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/netload.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/open.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/ppp.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/procargs.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/prockernel.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/proclist.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/procmap.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/procmem.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/procopenfiles.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/procsegment.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/procsignal.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/procstate.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/proctime.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/procuid.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/sem_limits.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/shm_limits.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/swap.c | 2 | ||||
-rw-r--r-- | sysdeps/freebsd/uptime.c | 2 |
23 files changed, 23 insertions, 23 deletions
diff --git a/sysdeps/freebsd/cpu.c b/sysdeps/freebsd/cpu.c index 0b98a985..9577703d 100644 --- a/sysdeps/freebsd/cpu.c +++ b/sysdeps/freebsd/cpu.c @@ -40,7 +40,7 @@ static const unsigned long _glibtop_sysdeps_cpu_smp = /* Init function. */ void -glibtop_init_cpu_s (glibtop *server) +_glibtop_init_cpu_s (glibtop *server) { server->sysdeps.cpu = _glibtop_sysdeps_cpu; diff --git a/sysdeps/freebsd/loadavg.c b/sysdeps/freebsd/loadavg.c index 5cd690d1..91c61854 100644 --- a/sysdeps/freebsd/loadavg.c +++ b/sysdeps/freebsd/loadavg.c @@ -37,7 +37,7 @@ static const unsigned long _glibtop_sysdeps_last_pid = /* Init function. */ void -glibtop_init_loadavg_s (glibtop *server) +_glibtop_init_loadavg_s (glibtop *server) { server->sysdeps.loadavg = _glibtop_sysdeps_loadavg | _glibtop_sysdeps_last_pid; diff --git a/sysdeps/freebsd/mem.c b/sysdeps/freebsd/mem.c index 35af5b5f..71a4a60f 100644 --- a/sysdeps/freebsd/mem.c +++ b/sysdeps/freebsd/mem.c @@ -38,7 +38,7 @@ static int pagesize; /* Init function. */ void -glibtop_init_mem_s (glibtop *server) +_glibtop_init_mem_s (glibtop *server) { pagesize = getpagesize (); diff --git a/sysdeps/freebsd/msg_limits.c b/sysdeps/freebsd/msg_limits.c index c7263923..a9c44127 100644 --- a/sysdeps/freebsd/msg_limits.c +++ b/sysdeps/freebsd/msg_limits.c @@ -35,7 +35,7 @@ static const unsigned long _glibtop_sysdeps_msg_limits = /* Init function. */ void -glibtop_init_msg_limits_s (glibtop *server) +_glibtop_init_msg_limits_s (glibtop *server) { server->sysdeps.msg_limits = _glibtop_sysdeps_msg_limits; } diff --git a/sysdeps/freebsd/netlist.c b/sysdeps/freebsd/netlist.c index 08c4557f..ab329803 100644 --- a/sysdeps/freebsd/netlist.c +++ b/sysdeps/freebsd/netlist.c @@ -29,7 +29,7 @@ static const unsigned long _glibtop_sysdeps_netlist = (1 << GLIBTOP_NETLIST_NUMB /* Init function. */ void -glibtop_init_netlist_s (glibtop *server) +_glibtop_init_netlist_s (glibtop *server) { server->sysdeps.netlist = _glibtop_sysdeps_netlist; } diff --git a/sysdeps/freebsd/netload.c b/sysdeps/freebsd/netload.c index 37dab068..7359ce0a 100644 --- a/sysdeps/freebsd/netload.c +++ b/sysdeps/freebsd/netload.c @@ -75,7 +75,7 @@ static struct nlist nlst [] = /* Init function. */ void -glibtop_init_netload_p (glibtop *server) +_glibtop_init_netload_p (glibtop *server) { if (kvm_nlist (server->machine.kd, nlst) < 0) { glibtop_warn_io_r (server, "kvm_nlist"); diff --git a/sysdeps/freebsd/open.c b/sysdeps/freebsd/open.c index 743b69f0..0627026b 100644 --- a/sysdeps/freebsd/open.c +++ b/sysdeps/freebsd/open.c @@ -31,7 +31,7 @@ void glibtop_init_p (glibtop *server, const unsigned long features, const unsigned flags) { - const glibtop_init_func_t *init_fkt; + const _glibtop_init_func_t *init_fkt; if (server == NULL) glibtop_error_r (NULL, "glibtop_init_p (server == NULL)"); diff --git a/sysdeps/freebsd/ppp.c b/sysdeps/freebsd/ppp.c index f3d6a49b..6a0beb63 100644 --- a/sysdeps/freebsd/ppp.c +++ b/sysdeps/freebsd/ppp.c @@ -66,7 +66,7 @@ static struct nlist nlst [] = { /* Init function. */ void -glibtop_init_ppp_p (glibtop *server) +_glibtop_init_ppp_p (glibtop *server) { #ifdef HAVE_I4B #ifdef HAVE_I4B_ACCT diff --git a/sysdeps/freebsd/procargs.c b/sysdeps/freebsd/procargs.c index 66657719..791afb7d 100644 --- a/sysdeps/freebsd/procargs.c +++ b/sysdeps/freebsd/procargs.c @@ -36,7 +36,7 @@ static const unsigned long _glibtop_sysdeps_proc_args = /* Init function. */ void -glibtop_init_proc_args_p (glibtop *server) +_glibtop_init_proc_args_p (glibtop *server) { server->sysdeps.proc_args = _glibtop_sysdeps_proc_args; } diff --git a/sysdeps/freebsd/prockernel.c b/sysdeps/freebsd/prockernel.c index 52b568b2..533725c0 100644 --- a/sysdeps/freebsd/prockernel.c +++ b/sysdeps/freebsd/prockernel.c @@ -55,7 +55,7 @@ static const unsigned long _glibtop_sysdeps_proc_kernel_wchan = /* Init function. */ void -glibtop_init_proc_kernel_p (glibtop *server) +_glibtop_init_proc_kernel_p (glibtop *server) { server->sysdeps.proc_kernel = _glibtop_sysdeps_proc_kernel_pstats | _glibtop_sysdeps_proc_kernel_wchan; diff --git a/sysdeps/freebsd/proclist.c b/sysdeps/freebsd/proclist.c index 52adf941..f335de8c 100644 --- a/sysdeps/freebsd/proclist.c +++ b/sysdeps/freebsd/proclist.c @@ -56,7 +56,7 @@ static const unsigned long _glibtop_sysdeps_proclist = /* Init function. */ void -glibtop_init_proclist_p (glibtop *server) +_glibtop_init_proclist_p (glibtop *server) { server->sysdeps.proclist = _glibtop_sysdeps_proclist; } diff --git a/sysdeps/freebsd/procmap.c b/sysdeps/freebsd/procmap.c index 13e3b425..a82b2f02 100644 --- a/sysdeps/freebsd/procmap.c +++ b/sysdeps/freebsd/procmap.c @@ -118,7 +118,7 @@ _glibtop_sysdeps_freebsd_dev_inode (glibtop *server, struct vnode *vnode, /* Init function. */ void -glibtop_init_proc_map_p (glibtop *server) +_glibtop_init_proc_map_p (glibtop *server) { server->sysdeps.proc_map = _glibtop_sysdeps_proc_map; } diff --git a/sysdeps/freebsd/procmem.c b/sysdeps/freebsd/procmem.c index f4220230..c5841498 100644 --- a/sysdeps/freebsd/procmem.c +++ b/sysdeps/freebsd/procmem.c @@ -58,7 +58,7 @@ static const unsigned long _glibtop_sysdeps_proc_mem_share = /* Init function. */ void -glibtop_init_proc_mem_p (glibtop *server) +_glibtop_init_proc_mem_p (glibtop *server) { server->sysdeps.proc_mem = _glibtop_sysdeps_proc_mem | _glibtop_sysdeps_proc_mem_share; diff --git a/sysdeps/freebsd/procopenfiles.c b/sysdeps/freebsd/procopenfiles.c index 88024437..be5d20db 100644 --- a/sysdeps/freebsd/procopenfiles.c +++ b/sysdeps/freebsd/procopenfiles.c @@ -37,7 +37,7 @@ static const unsigned long _glibtop_sysdeps_proc_open_files = /* Init function. */ void -glibtop_init_proc_open_files_s (glibtop *server) +_glibtop_init_proc_open_files_s (glibtop *server) { server->sysdeps.proc_open_files = _glibtop_sysdeps_proc_open_files; } diff --git a/sysdeps/freebsd/procsegment.c b/sysdeps/freebsd/procsegment.c index 48bdded8..e9b1de8a 100644 --- a/sysdeps/freebsd/procsegment.c +++ b/sysdeps/freebsd/procsegment.c @@ -39,7 +39,7 @@ static int pagesize; /* Init function. */ void -glibtop_init_proc_segment_p (glibtop *server) +_glibtop_init_proc_segment_p (glibtop *server) { pagesize = getpagesize (); server->sysdeps.proc_segment = _glibtop_sysdeps_proc_segment; diff --git a/sysdeps/freebsd/procsignal.c b/sysdeps/freebsd/procsignal.c index fdec2376..8d49fe9a 100644 --- a/sysdeps/freebsd/procsignal.c +++ b/sysdeps/freebsd/procsignal.c @@ -39,7 +39,7 @@ static const unsigned long _glibtop_sysdeps_proc_signal = /* Init function. */ void -glibtop_init_proc_signal_p (glibtop *server) +_glibtop_init_proc_signal_p (glibtop *server) { server->sysdeps.proc_signal = _glibtop_sysdeps_proc_signal; } diff --git a/sysdeps/freebsd/procstate.c b/sysdeps/freebsd/procstate.c index bafdf921..786771a2 100644 --- a/sysdeps/freebsd/procstate.c +++ b/sysdeps/freebsd/procstate.c @@ -35,7 +35,7 @@ static const unsigned long _glibtop_sysdeps_proc_state = /* Init function. */ void -glibtop_init_proc_state_p (glibtop *server) +_glibtop_init_proc_state_p (glibtop *server) { server->sysdeps.proc_state = _glibtop_sysdeps_proc_state; } diff --git a/sysdeps/freebsd/proctime.c b/sysdeps/freebsd/proctime.c index 187eb490..5c10aafe 100644 --- a/sysdeps/freebsd/proctime.c +++ b/sysdeps/freebsd/proctime.c @@ -42,7 +42,7 @@ static const unsigned long _glibtop_sysdeps_proc_time_user = /* Init function. */ void -glibtop_init_proc_time_p (glibtop *server) +_glibtop_init_proc_time_p (glibtop *server) { server->sysdeps.proc_time = _glibtop_sysdeps_proc_time | _glibtop_sysdeps_proc_time_user; diff --git a/sysdeps/freebsd/procuid.c b/sysdeps/freebsd/procuid.c index 806e8348..2e712bc5 100644 --- a/sysdeps/freebsd/procuid.c +++ b/sysdeps/freebsd/procuid.c @@ -36,7 +36,7 @@ static const unsigned long _glibtop_sysdeps_proc_uid = /* Init function. */ void -glibtop_init_proc_uid_p (glibtop *server) +_glibtop_init_proc_uid_p (glibtop *server) { server->sysdeps.proc_uid = _glibtop_sysdeps_proc_uid; } diff --git a/sysdeps/freebsd/sem_limits.c b/sysdeps/freebsd/sem_limits.c index 52c53318..71f78db8 100644 --- a/sysdeps/freebsd/sem_limits.c +++ b/sysdeps/freebsd/sem_limits.c @@ -37,7 +37,7 @@ static unsigned long _glibtop_sysdeps_sem_limits = /* Init function. */ void -glibtop_init_sem_limits_s (glibtop *server) +_glibtop_init_sem_limits_s (glibtop *server) { server->sysdeps.sem_limits = _glibtop_sysdeps_sem_limits; } diff --git a/sysdeps/freebsd/shm_limits.c b/sysdeps/freebsd/shm_limits.c index 15963ccc..d5d4df36 100644 --- a/sysdeps/freebsd/shm_limits.c +++ b/sysdeps/freebsd/shm_limits.c @@ -35,7 +35,7 @@ static unsigned long _glibtop_sysdeps_shm_limits = /* Init function. */ void -glibtop_init_shm_limits_s (glibtop *server) +_glibtop_init_shm_limits_s (glibtop *server) { server->sysdeps.shm_limits = _glibtop_sysdeps_shm_limits; } diff --git a/sysdeps/freebsd/swap.c b/sysdeps/freebsd/swap.c index f7c1b2dd..c9e3545b 100644 --- a/sysdeps/freebsd/swap.c +++ b/sysdeps/freebsd/swap.c @@ -38,7 +38,7 @@ static int pagesize; /* Init function. */ void -glibtop_init_swap_p (glibtop *server) +_glibtop_init_swap_p (glibtop *server) { pagesize = getpagesize (); diff --git a/sysdeps/freebsd/uptime.c b/sysdeps/freebsd/uptime.c index 16f540f5..2c333e41 100644 --- a/sysdeps/freebsd/uptime.c +++ b/sysdeps/freebsd/uptime.c @@ -42,7 +42,7 @@ static const unsigned long _required_cpu_flags = /* Init function. */ void -glibtop_init_uptime_s (glibtop *server) +_glibtop_init_uptime_s (glibtop *server) { server->sysdeps.uptime = _glibtop_sysdeps_uptime; } |