From 98791bc6740bcbcbb355befd7c57ff22b9583bb5 Mon Sep 17 00:00:00 2001 From: px4dev Date: Sat, 27 Oct 2012 22:42:43 -0700 Subject: Remove reboot() API, replace with a prototype for up_systemreset() which is portable. --- apps/systemlib/systemlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/systemlib/systemlib.h') diff --git a/apps/systemlib/systemlib.h b/apps/systemlib/systemlib.h index 997f40ded..f31c5cd1f 100644 --- a/apps/systemlib/systemlib.h +++ b/apps/systemlib/systemlib.h @@ -45,7 +45,7 @@ __BEGIN_DECLS /** Reboots the board */ -__EXPORT int reboot(void); +extern void up_systemreset(void) noreturn_function; /** Sends SIGUSR1 to all processes */ __EXPORT void killall(void); -- cgit v1.2.3