diff --git a/src/kits/storage/LibBeAdapter.cpp b/src/kits/storage/LibBeAdapter.cpp index d3936d547f..cd49e607c5 100644 --- a/src/kits/storage/LibBeAdapter.cpp +++ b/src/kits/storage/LibBeAdapter.cpp @@ -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; -} - diff --git a/src/servers/registrar/R5Compatibility.cpp b/src/servers/registrar/R5Compatibility.cpp index b80cc39e2e..e86d51c602 100644 --- a/src/servers/registrar/R5Compatibility.cpp +++ b/src/servers/registrar/R5Compatibility.cpp @@ -3,21 +3,30 @@ * Distributed under the terms of the MIT License. */ -// Syscalls not existing under R5 +//! Syscalls not existing under R5 #include +#include + // _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; +} +