Remove obsolete mstats call
This commit is contained in:
parent
76708e9bf4
commit
50539c12f5
@ -74,7 +74,6 @@ SRCS+= \
|
|||||||
lsearch.c \
|
lsearch.c \
|
||||||
memccpy.c \
|
memccpy.c \
|
||||||
minix_rs.c \
|
minix_rs.c \
|
||||||
mstats.c \
|
|
||||||
mtab.c \
|
mtab.c \
|
||||||
nlist.c \
|
nlist.c \
|
||||||
paramvalue.c \
|
paramvalue.c \
|
||||||
|
@ -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
|
|
Loading…
x
Reference in New Issue
Block a user