summaryrefslogtreecommitdiffstats
path: root/sysdep
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-06-02 22:20:40 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2010-06-02 22:20:40 +0200
commitacb60628f53ba1fc29d1a554683acdb03f961c6f (patch)
treebe767e6d7995dee6708b7530b7dabe74d23b491e /sysdep
parent4461b8979143bd13024663622c419646a1db0c85 (diff)
downloadbird-acb60628f53ba1fc29d1a554683acdb03f961c6f.tar
bird-acb60628f53ba1fc29d1a554683acdb03f961c6f.zip
Implements command that shows memory usage.
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/unix/io.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c
index 8058fa6..690c8fc 100644
--- a/sysdep/unix/io.c
+++ b/sysdep/unix/io.c
@@ -76,6 +76,7 @@ static struct resclass rf_class = {
sizeof(struct rfile),
rf_free,
rf_dump,
+ NULL,
NULL
};
@@ -203,6 +204,7 @@ static struct resclass tm_class = {
sizeof(timer),
tm_free,
tm_dump,
+ NULL,
NULL
};
@@ -573,6 +575,7 @@ static struct resclass sk_class = {
sizeof(sock),
sk_free,
sk_dump,
+ NULL,
NULL
};