mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
De-warning a few stubs.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user