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