hrev51923 adds 1 changeset to branch 'master'
old head: efd07aad5b536c48b2bf499d65c9a3a65f7bc995
new head: 33dc8de507c459141dde9e92a2d687815f875d35
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=33dc8de507c4+%5Eefd07aad5b53
----------------------------------------------------------------------------
33dc8de507c4: kernel: remove incorrect inline and static keywords for syscalls.
[ Jérôme Duval <jerome.duval@xxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev51923
Commit: 33dc8de507c459141dde9e92a2d687815f875d35
URL: https://git.haiku-os.org/haiku/commit/?id=33dc8de507c4
Author: Jérôme Duval <jerome.duval@xxxxxxxxx>
Date: Fri May 4 18:39:53 2018 UTC
----------------------------------------------------------------------------
1 file changed, 7 insertions(+), 2 deletions(-)
src/system/kernel/syscalls.cpp | 9 +++++++--
----------------------------------------------------------------------------
diff --git a/src/system/kernel/syscalls.cpp b/src/system/kernel/syscalls.cpp
index 40d538780f..06280fa76c 100644
--- a/src/system/kernel/syscalls.cpp
+++ b/src/system/kernel/syscalls.cpp
@@ -77,6 +77,11 @@ static mutex sGenericSyscallLock =
MUTEX_INITIALIZER("generic syscall");
static GenericSyscallList sGenericSyscalls;
+status_t _user_generic_syscall(const char* userSubsystem, uint32 function,
+ void* buffer, size_t bufferSize);
+int _user_is_computer_on(void);
+
+
#if SYSCALL_TRACING
static int dump_syscall_tracing(int argc, char** argv);
#endif
@@ -104,7 +109,7 @@ find_generic_syscall(const char* subsystem)
the subsystem does not support the requested function.
All other return codes are depending on the generic syscall
implementation.
*/
-static inline status_t
+status_t
_user_generic_syscall(const char* userSubsystem, uint32 function,
void* buffer, size_t bufferSize)
{
@@ -175,7 +180,7 @@ _user_generic_syscall(const char* userSubsystem, uint32
function,
}
-static inline int
+int
_user_is_computer_on(void)
{
return 1;