Moved _kern_shutdown() to the registrar's R5Compatiblity.cpp where it belongs.
(but maybe that file should be moved into libhaikucompat.a?) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16096 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5da7839924
commit
c43a6c505a
@ -735,11 +735,3 @@ _kern_get_safemode_option(const char *parameter, char *buffer, size_t *_bufferSi
|
||||
return _kget_safemode_option_(parameter, buffer, _bufferSize);
|
||||
}
|
||||
|
||||
|
||||
extern "C" status_t
|
||||
_kern_shutdown(bool reboot)
|
||||
{
|
||||
puts(reboot ? "reboot" : "shutdown");
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
|
@ -3,21 +3,30 @@
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
// Syscalls not existing under R5
|
||||
//! Syscalls not existing under R5
|
||||
|
||||
#include <syscalls.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
// _kern_register_messaging_service
|
||||
area_id
|
||||
extern "C" area_id
|
||||
_kern_register_messaging_service(sem_id lockSem, sem_id counterSem)
|
||||
{
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
// _kern_unregister_messaging_service
|
||||
status_t
|
||||
extern "C" status_t
|
||||
_kern_unregister_messaging_service()
|
||||
{
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
extern "C" status_t
|
||||
_kern_shutdown(bool reboot)
|
||||
{
|
||||
puts(reboot ? "reboot" : "shutdown");
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user