summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0e38564)
raw | patch | inline | side by side (parent: 0e38564)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 23 Jul 2016 21:24:46 +0000 (23:24 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 24 Jul 2016 11:15:26 +0000 (13:15 +0200) |
src/zone.c | patch | blob | history |
diff --git a/src/zone.c b/src/zone.c
index 0e9fee386f8c47749da5d320f407dfce4a56a545..ba07c9efcb84aab86dfd416ec66d8ba9249d8d02 100644 (file)
--- a/src/zone.c
+++ b/src/zone.c
ushort_t pctmem;
} zone_stats_t;
-static long pagesize;
-
-static int zone_init (void)
-{
- pagesize = sysconf(_SC_PAGESIZE);
- return (0);
-}
-
static int
zone_compare(const zoneid_t *a, const zoneid_t *b)
{
void module_register (void)
{
- plugin_register_init ("zone", zone_init);
plugin_register_read ("zone", zone_read);
} /* void module_register */