summaryrefslogtreecommitdiff
path: root/sysdeps/stub/mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/mem.c')
-rw-r--r--sysdeps/stub/mem.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/sysdeps/stub/mem.c b/sysdeps/stub/mem.c
index e9e06a93..b420d635 100644
--- a/sysdeps/stub/mem.c
+++ b/sysdeps/stub/mem.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/mem.h>
+static const unsigned long _glibtop_sysdeps_mem = 0;
+
+/* Init function. */
+
+void
+glibtop_init_mem_s (glibtop *server)
+{
+ server->sysdeps.mem = _glibtop_sysdeps_mem;
+}
+
/* Provides information about memory usage. */
void