From fe86288e76f5d95ac92987908b021f3d8a3fcf66 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Wed, 12 Jan 2000 13:11:19 +0000 Subject: [PATCH] This has been moved into the sysdeps backend. 2000-01-12 Martin Baulig * lib/sysdeps.c (_glibtop_init_hook_s): This has been moved into the sysdeps backend. --- ChangeLog | 3 +++ lib/sysdeps.c | 64 --------------------------------------------------- 2 files changed, 3 insertions(+), 64 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1f0384bd..828c45be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-01-12 Martin Baulig + * lib/sysdeps.c (_glibtop_init_hook_s): This has been moved + into the sysdeps backend. + * configure.in (LIBGTOP_LIBS): Added `-lgtop_backend_common'. * lib/init-backends.c (glibtop_init_backends): Initialize `glibtop_backend_common' backend. diff --git a/lib/sysdeps.c b/lib/sysdeps.c index a7a37bc7..686663e8 100644 --- a/lib/sysdeps.c +++ b/lib/sysdeps.c @@ -47,70 +47,6 @@ GLIBTOP_SUID_PROC_MAP + GLIBTOP_SUID_NETLOAD + GLIBTOP_SUID_PPP; -glibtop_init_func_t _glibtop_init_hook_s [] = { -#if !GLIBTOP_SUID_CPU - glibtop_init_cpu_s, -#endif -#if !GLIBTOP_SUID_MEM - glibtop_init_mem_s, -#endif -#if !GLIBTOP_SUID_SWAP - glibtop_init_swap_s, -#endif -#if !GLIBTOP_SUID_UPTIME - glibtop_init_uptime_s, -#endif -#if !GLIBTOP_SUID_LOADAVG - glibtop_init_loadavg_s, -#endif -#if !GLIBTOP_SUID_SHM_LIMITS - glibtop_init_shm_limits_s, -#endif -#if !GLIBTOP_SUID_MSG_LIMITS - glibtop_init_msg_limits_s, -#endif -#if !GLIBTOP_SUID_SEM_LIMITS - glibtop_init_sem_limits_s, -#endif -#if !GLIBTOP_SUID_PROCLIST - glibtop_init_proclist_s, -#endif -#if !GLIBTOP_SUID_PROC_STATE - glibtop_init_proc_state_s, -#endif -#if !GLIBTOP_SUID_PROC_UID - glibtop_init_proc_uid_s, -#endif -#if !GLIBTOP_SUID_PROC_MEM - glibtop_init_proc_mem_s, -#endif -#if !GLIBTOP_SUID_PROC_TIME - glibtop_init_proc_time_s, -#endif -#if !GLIBTOP_SUID_PROC_SIGNAL - glibtop_init_proc_signal_s, -#endif -#if !GLIBTOP_SUID_PROC_KERNEL - glibtop_init_proc_kernel_s, -#endif -#if !GLIBTOP_SUID_PROC_SEGMENT - glibtop_init_proc_segment_s, -#endif -#if !GLIBTOP_SUID_PROC_ARGS - glibtop_init_proc_args_s, -#endif -#if !GLIBTOP_SUID_PROC_MAP - glibtop_init_proc_map_s, -#endif -#if !GLIBTOP_SUID_NETLOAD - glibtop_init_netload_s, -#endif -#if !GLIBTOP_SUID_PPP - glibtop_init_ppp_s, -#endif - NULL -}; - /* Checks which features are implemented. */ void