diff options
Diffstat (limited to 'sysdeps/stub/uptime.c')
-rw-r--r-- | sysdeps/stub/uptime.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sysdeps/stub/uptime.c b/sysdeps/stub/uptime.c index e9d887df..aa6f590d 100644 --- a/sysdeps/stub/uptime.c +++ b/sysdeps/stub/uptime.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/uptime.h> +static const unsigned long _glibtop_sysdeps_uptime = 0; + +/* Init function. */ + +void +glibtop_init_uptime_s (glibtop *server) +{ + server->sysdeps.uptime = _glibtop_sysdeps_uptime; +} + /* Provides uptime and idle time. */ void |