xref: /haiku/src/tests/servers/registrar/R5Compatibility.cpp (revision 2e15a0f6b941181f054e9651d261527efcfbf79f)
1 /*
2  * Copyright 2005, Ingo Weinhold, bonefish@users.sf.net. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 
6 //! Syscalls not existing under R5
7 
8 #include <syscalls.h>
9 #include <stdio.h>
10 
11 
12 // _kern_register_messaging_service
13 extern "C" area_id
_kern_register_messaging_service(sem_id lockSem,sem_id counterSem)14 _kern_register_messaging_service(sem_id lockSem, sem_id counterSem)
15 {
16 	return B_ERROR;
17 }
18 
19 // _kern_unregister_messaging_service
20 extern "C" status_t
_kern_unregister_messaging_service()21 _kern_unregister_messaging_service()
22 {
23 	return B_ERROR;
24 }
25 
26 extern "C" status_t
_kern_shutdown(bool reboot)27 _kern_shutdown(bool reboot)
28 {
29 	puts(reboot ? "reboot" : "shutdown");
30 	return B_ERROR;
31 }
32 
33