Remove obsolete mstats call

This commit is contained in:
Erik van der Kouwe 2010-06-23 10:43:08 +00:00
parent 76708e9bf4
commit 50539c12f5
2 changed files with 0 additions and 24 deletions

View File

@ -74,7 +74,6 @@ SRCS+= \
lsearch.c \
memccpy.c \
minix_rs.c \
mstats.c \
mtab.c \
nlist.c \
paramvalue.c \

View File

@ -1,23 +0,0 @@
#include <minix/config.h>
#if ENABLE_MESSAGE_STATS
#include <lib.h>
#include <unistd.h>
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