Remove reboot() API, replace with a prototype for up_systemreset() which is portable.

This commit is contained in:
px4dev
2012-10-27 22:42:43 -07:00
parent 22b0add293
commit 98791bc674
6 changed files with 12 additions and 42 deletions
+2 -3
View File
@@ -41,14 +41,13 @@
#include <unistd.h>
#include <stdio.h>
#include "systemlib/systemlib.h"
#include <systemlib/systemlib.h>
__EXPORT int reboot_main(int argc, char *argv[]);
int reboot_main(int argc, char *argv[])
{
reboot();
return 0;
up_systemreset();
}