aboutsummaryrefslogtreecommitdiff
path: root/misc/reboot.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-12-04 12:31:38 -0800
committerRoland McGrath <roland@hack.frob.com>2014-12-04 12:31:38 -0800
commit4bee4cd9593610ac1204529076591871b1143c7e (patch)
treec93f3b074902e65d663da97e34307ae873feadaf /misc/reboot.c
parent84dbedb6081f655bdfc4bf93a6e0e7f46234a8a7 (diff)
downloadglibc-4bee4cd9593610ac1204529076591871b1143c7e.zip
glibc-4bee4cd9593610ac1204529076591871b1143c7e.tar.gz
glibc-4bee4cd9593610ac1204529076591871b1143c7e.tar.bz2
De-warning a few stubs.
Diffstat (limited to 'misc/reboot.c')
-rw-r--r--misc/reboot.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/misc/reboot.c b/misc/reboot.c
index 3b3c21f..d0c28c9 100644
--- a/misc/reboot.c
+++ b/misc/reboot.c
@@ -18,15 +18,16 @@
#include <errno.h>
#include <unistd.h>
#include <sys/reboot.h>
+#include <libc-internal.h>
/* Reboot the system. */
int
-reboot (howto)
- int howto;
+reboot (int howto)
{
+ ignore_value (howto);
+
__set_errno (ENOSYS);
return -1;
}
-
stub_warning (reboot)