summaryrefslogtreecommitdiff
path: root/sysdeps/stub/shm_limits.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/shm_limits.c')
-rw-r--r--sysdeps/stub/shm_limits.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/stub/shm_limits.c b/sysdeps/stub/shm_limits.c
index b4ac4bb3..42cbd4e0 100644
--- a/sysdeps/stub/shm_limits.c
+++ b/sysdeps/stub/shm_limits.c
@@ -19,8 +19,19 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include <glibtop.h>
#include <glibtop/shm_limits.h>
+static const unsigned long _glibtop_sysdeps_shm_limits = 0;
+
+/* Init function. */
+
+void
+glibtop_init_shm_limits_s (glibtop *server)
+{
+ server->sysdeps.shm_limits = _glibtop_sysdeps_shm_limits;
+}
+
/* Provides information about sysv ipc limits. */
void