summaryrefslogtreecommitdiff
path: root/Kernel/API/Syscall.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-04-01 20:58:27 +0300
committerLinus Groh <mail@linusgroh.de>2022-04-01 21:24:45 +0100
commit086969277e74d8ba065bf8145d3aeb0dec0bfee5 (patch)
tree02b3699a66735ef806d9b46353491f18f8e4e7b4 /Kernel/API/Syscall.h
parent0376c127f6e98e03607700d0b3f5154b7014b2f8 (diff)
downloadserenity-086969277e74d8ba065bf8145d3aeb0dec0bfee5.zip
Everywhere: Run clang-format
Diffstat (limited to 'Kernel/API/Syscall.h')
-rw-r--r--Kernel/API/Syscall.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h
index 921eb4ee8a..de41ae6f73 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -218,7 +218,7 @@ constexpr StringView to_string(Function function)
#ifdef __serenity__
struct StringArgument {
- const char* characters;
+ char const* characters;
size_t length { 0 };
};
@@ -262,7 +262,7 @@ struct SC_poll_params {
struct pollfd* fds;
unsigned nfds;
const struct timespec* timeout;
- const u32* sigmask;
+ u32 const* sigmask;
};
struct SC_clock_nanosleep_params {
@@ -288,7 +288,7 @@ struct SC_getsockopt_params {
};
struct SC_setsockopt_params {
- const void* value;
+ void const* value;
int sockfd;
int level;
int option;
@@ -319,7 +319,7 @@ struct SC_futex_params {
int futex_op;
u32 val;
union {
- const timespec* timeout;
+ timespec const* timeout;
uintptr_t val2;
};
u32* userspace_address2;
@@ -327,11 +327,11 @@ struct SC_futex_params {
};
struct SC_setkeymap_params {
- const u32* map;
- const u32* shift_map;
- const u32* alt_map;
- const u32* altgr_map;
- const u32* shift_altgr_map;
+ u32 const* map;
+ u32 const* shift_map;
+ u32 const* alt_map;
+ u32 const* altgr_map;
+ u32 const* shift_altgr_map;
StringArgument map_name;
};