From: Erik van der Kouwe Date: Wed, 23 Jun 2010 10:43:08 +0000 (+0000) Subject: Remove obsolete mstats call X-Git-Tag: v3.1.8~379 X-Git-Url: http://zhaoyanbai.com/repos/dnssec-verify.html?a=commitdiff_plain;h=50539c12f5ed9141e13ae448c67a1a67d354fb08;p=minix.git Remove obsolete mstats call --- diff --git a/lib/libc/other/Makefile.inc b/lib/libc/other/Makefile.inc index 60a24aa84..77965f7b7 100644 --- a/lib/libc/other/Makefile.inc +++ b/lib/libc/other/Makefile.inc @@ -74,7 +74,6 @@ SRCS+= \ lsearch.c \ memccpy.c \ minix_rs.c \ - mstats.c \ mtab.c \ nlist.c \ paramvalue.c \ diff --git a/lib/libc/other/mstats.c b/lib/libc/other/mstats.c deleted file mode 100644 index 6bab41faa..000000000 --- a/lib/libc/other/mstats.c +++ /dev/null @@ -1,23 +0,0 @@ -#include - -#if ENABLE_MESSAGE_STATS - -#include -#include - -PUBLIC int mstats(struct message_statentry *ms, int entries, int reset) -{ - message m; - - m.m1_i1 = entries; - m.m1_i2 = reset; - m.m1_p1 = (void *) ms; - - if(_syscall(PM_PROC_NR, MSTATS, &m) < 0) { - return -1; - } - - return m.m_type; -} - -#endif