From 4d402ecc14f085907d28c1e33f9732a10f2d8ab3 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Wed, 12 Jan 2000 23:57:19 +0000 Subject: [PATCH] Provide implementation. --- lib/sysdeps-init-freebsd.c | 5 +++++ lib/sysdeps-init-kernel.c | 5 +++++ lib/sysdeps-init-linux.c | 5 +++++ lib/sysdeps-init-solaris.c | 7 +++++++ lib/sysdeps-init-stub-suid.c | 5 +++++ lib/sysdeps-init-stub.c | 5 +++++ 6 files changed, 32 insertions(+) diff --git a/lib/sysdeps-init-freebsd.c b/lib/sysdeps-init-freebsd.c index e492d5e8..64cdbbad 100644 --- a/lib/sysdeps-init-freebsd.c +++ b/lib/sysdeps-init-freebsd.c @@ -25,9 +25,14 @@ #include #include +#include void _glibtop_open_sysdeps (glibtop *server, const char *program_name, const unsigned long features, const unsigned flags) { + glibtop_open_backend_l (server, "glibtop-backend-common", + features, NULL); + glibtop_open_backend_l (server, "glibtop-backend-server", + features, NULL); } diff --git a/lib/sysdeps-init-kernel.c b/lib/sysdeps-init-kernel.c index e492d5e8..eec9bde6 100644 --- a/lib/sysdeps-init-kernel.c +++ b/lib/sysdeps-init-kernel.c @@ -25,9 +25,14 @@ #include #include +#include void _glibtop_open_sysdeps (glibtop *server, const char *program_name, const unsigned long features, const unsigned flags) { + glibtop_open_backend_l (server, "glibtop-backend-common", + features, NULL); + glibtop_open_backend_l (server, "glibtop-backend-sysdeps", + features, NULL); } diff --git a/lib/sysdeps-init-linux.c b/lib/sysdeps-init-linux.c index e492d5e8..eec9bde6 100644 --- a/lib/sysdeps-init-linux.c +++ b/lib/sysdeps-init-linux.c @@ -25,9 +25,14 @@ #include #include +#include void _glibtop_open_sysdeps (glibtop *server, const char *program_name, const unsigned long features, const unsigned flags) { + glibtop_open_backend_l (server, "glibtop-backend-common", + features, NULL); + glibtop_open_backend_l (server, "glibtop-backend-sysdeps", + features, NULL); } diff --git a/lib/sysdeps-init-solaris.c b/lib/sysdeps-init-solaris.c index e492d5e8..54798f4d 100644 --- a/lib/sysdeps-init-solaris.c +++ b/lib/sysdeps-init-solaris.c @@ -25,9 +25,16 @@ #include #include +#include void _glibtop_open_sysdeps (glibtop *server, const char *program_name, const unsigned long features, const unsigned flags) { + glibtop_open_backend_l (server, "glibtop-backend-common", + features, NULL); + glibtop_open_backend_l (server, "glibtop-backend-sysdeps", + features, NULL); + glibtop_open_backend_l (server, "glibtop-backend-server", + features, NULL); } diff --git a/lib/sysdeps-init-stub-suid.c b/lib/sysdeps-init-stub-suid.c index e492d5e8..64cdbbad 100644 --- a/lib/sysdeps-init-stub-suid.c +++ b/lib/sysdeps-init-stub-suid.c @@ -25,9 +25,14 @@ #include #include +#include void _glibtop_open_sysdeps (glibtop *server, const char *program_name, const unsigned long features, const unsigned flags) { + glibtop_open_backend_l (server, "glibtop-backend-common", + features, NULL); + glibtop_open_backend_l (server, "glibtop-backend-server", + features, NULL); } diff --git a/lib/sysdeps-init-stub.c b/lib/sysdeps-init-stub.c index e492d5e8..eec9bde6 100644 --- a/lib/sysdeps-init-stub.c +++ b/lib/sysdeps-init-stub.c @@ -25,9 +25,14 @@ #include #include +#include void _glibtop_open_sysdeps (glibtop *server, const char *program_name, const unsigned long features, const unsigned flags) { + glibtop_open_backend_l (server, "glibtop-backend-common", + features, NULL); + glibtop_open_backend_l (server, "glibtop-backend-sysdeps", + features, NULL); }