minix/lib/libc/sys-minix/reboot.c
Ben Gras 4f3b015903 fix some warnings
Change-Id: I1f3fa582d8e3ddb3c981784dddb13e740102f4f3
2013-05-31 20:57:39 +00:00

21 lines
361 B
C

/* reboot.c - Systemcall interface to mm/signal.c::do_reboot()
author: Edvard Tuinder v892231@si.hhs.NL
*/
#include <sys/cdefs.h>
#include <lib.h>
#include <unistd.h>
#include "namespace.h"
#include <unistd.h>
#include <sys/reboot.h>
#include <stdarg.h>
int reboot(int how)
{
message m;
m.m1_i1 = how;
return _syscall(PM_PROC_NR, REBOOT, &m);
}