summaryrefslogtreecommitdiff
path: root/sysdeps/stub/procmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/procmem.c')
-rw-r--r--sysdeps/stub/procmem.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/sysdeps/stub/procmem.c b/sysdeps/stub/procmem.c
index 08d125d8..4099c465 100644
--- a/sysdeps/stub/procmem.c
+++ b/sysdeps/stub/procmem.c
@@ -19,9 +19,19 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include <config.h>
+#include <glibtop.h>
#include <glibtop/procmem.h>
+static const unsigned long _glibtop_sysdeps_proc_mem = 0;
+
+/* Init function. */
+
+void
+glibtop_init_proc_mem_s (glibtop *server)
+{
+ server->sysdeps.proc_mem = _glibtop_sysdeps_proc_mem;
+}
+
/* Provides detailed information about a process. */
void