From 4bee4cd9593610ac1204529076591871b1143c7e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 4 Dec 2014 12:31:38 -0800 Subject: De-warning a few stubs. --- misc/reboot.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'misc/reboot.c') diff --git a/misc/reboot.c b/misc/reboot.c index 3b3c21f616..d0c28c966e 100644 --- a/misc/reboot.c +++ b/misc/reboot.c @@ -18,15 +18,16 @@ #include #include #include +#include /* Reboot the system. */ int -reboot (howto) - int howto; +reboot (int howto) { + ignore_value (howto); + __set_errno (ENOSYS); return -1; } - stub_warning (reboot) -- cgit v1.2.1