diff options
author | Marvin Borner | 2020-03-18 17:32:50 +0100 |
---|---|---|
committer | Marvin Borner | 2020-03-18 17:32:50 +0100 |
commit | f495cc1e93710c233292a503720ec235a61b685c (patch) | |
tree | 23b0b4b82b6d80001c1ffdb15f00b93cbdc65722 /src/kernel/syscall/actions/sys_get_pointers.c | |
parent | c6657aac0c5d5ecf347bc082cb6df38e1174d297 (diff) |
Applied official linux kernel code style guidelines
Due to my change to vim and the clang-format plugin this was needed!
Diffstat (limited to 'src/kernel/syscall/actions/sys_get_pointers.c')
-rw-r--r-- | src/kernel/syscall/actions/sys_get_pointers.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/kernel/syscall/actions/sys_get_pointers.c b/src/kernel/syscall/actions/sys_get_pointers.c index cd824db..181630b 100644 --- a/src/kernel/syscall/actions/sys_get_pointers.c +++ b/src/kernel/syscall/actions/sys_get_pointers.c @@ -4,14 +4,15 @@ #include <kernel/memory/alloc.h> struct userspace_pointers { - unsigned char *fb; - struct font *font; + unsigned char *fb; + struct font *font; }; uint32_t sys_get_pointers() { - struct userspace_pointers *pointers = (struct userspace_pointers *) kmalloc(sizeof(struct userspace_pointers)); - pointers->fb = fb; - pointers->font = font; - return (uint32_t) pointers; + struct userspace_pointers *pointers = + (struct userspace_pointers *)kmalloc(sizeof(struct userspace_pointers)); + pointers->fb = fb; + pointers->font = font; + return (uint32_t)pointers; }
\ No newline at end of file |