diff options
author | Marvin Borner | 2020-03-27 15:45:25 +0100 |
---|---|---|
committer | Marvin Borner | 2020-03-27 15:45:25 +0100 |
commit | e5559ad7a555b6f579bda0c6007d61d7a03ae2b9 (patch) | |
tree | de3ad6fee2c527ecacc109d0104c8803d4447221 /src/userspace | |
parent | cbf21c7f3cced00bd810f102cfa0581cf9b8c402 (diff) |
Added and applied tidy command
Diffstat (limited to 'src/userspace')
-rw-r--r-- | src/userspace/main.c | 2 | ||||
-rw-r--r-- | src/userspace/mlibc/math.h | 2 | ||||
-rw-r--r-- | src/userspace/mlibc/stdio.h | 2 | ||||
-rw-r--r-- | src/userspace/mlibc/stdlib.h | 2 | ||||
-rw-r--r-- | src/userspace/mlibc/stdlib/liballoc.c | 2 | ||||
-rw-r--r-- | src/userspace/mlibc/stdlib/liballoc.h | 2 | ||||
-rw-r--r-- | src/userspace/mlibc/string.h | 2 | ||||
-rw-r--r-- | src/userspace/syscall.c | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/src/userspace/main.c b/src/userspace/main.c index cdd4130..2e4178a 100644 --- a/src/userspace/main.c +++ b/src/userspace/main.c @@ -16,4 +16,4 @@ void main() char test[] = "banane"; syscall_write(test); syscall_halt(); -} +}
\ No newline at end of file diff --git a/src/userspace/mlibc/math.h b/src/userspace/mlibc/math.h index c9abf7d..57877ad 100644 --- a/src/userspace/mlibc/math.h +++ b/src/userspace/mlibc/math.h @@ -3,4 +3,4 @@ int pow(int base, int exp); -#endif +#endif
\ No newline at end of file diff --git a/src/userspace/mlibc/stdio.h b/src/userspace/mlibc/stdio.h index d102dd6..b44a9b7 100644 --- a/src/userspace/mlibc/stdio.h +++ b/src/userspace/mlibc/stdio.h @@ -13,4 +13,4 @@ void vprintf(const char *format, va_list args); void printf(const char *format, ...); -#endif +#endif
\ No newline at end of file diff --git a/src/userspace/mlibc/stdlib.h b/src/userspace/mlibc/stdlib.h index 36a3b5f..3ccdec2 100644 --- a/src/userspace/mlibc/stdlib.h +++ b/src/userspace/mlibc/stdlib.h @@ -23,4 +23,4 @@ char *htoa(uint32_t n); int htoi(char *str); -#endif +#endif
\ No newline at end of file diff --git a/src/userspace/mlibc/stdlib/liballoc.c b/src/userspace/mlibc/stdlib/liballoc.c index 0b62f9a..e57a5e2 100644 --- a/src/userspace/mlibc/stdlib/liballoc.c +++ b/src/userspace/mlibc/stdlib/liballoc.c @@ -9,4 +9,4 @@ void *malloc(size_t count) void free(void *ptr) { syscall_free((uint32_t)ptr); -} +}
\ No newline at end of file diff --git a/src/userspace/mlibc/stdlib/liballoc.h b/src/userspace/mlibc/stdlib/liballoc.h index d9d08ee..64b7cce 100644 --- a/src/userspace/mlibc/stdlib/liballoc.h +++ b/src/userspace/mlibc/stdlib/liballoc.h @@ -7,4 +7,4 @@ void *malloc(size_t); void free(void *); -#endif +#endif
\ No newline at end of file diff --git a/src/userspace/mlibc/string.h b/src/userspace/mlibc/string.h index 153b7cb..ad0858d 100644 --- a/src/userspace/mlibc/string.h +++ b/src/userspace/mlibc/string.h @@ -25,4 +25,4 @@ void *memset(void *dest, char val, size_t count); int memcmp(const void *a_ptr, const void *b_ptr, size_t size); -#endif +#endif
\ No newline at end of file diff --git a/src/userspace/syscall.c b/src/userspace/syscall.c index c147703..9462b10 100644 --- a/src/userspace/syscall.c +++ b/src/userspace/syscall.c @@ -17,4 +17,4 @@ DEFN_SYSCALL0(get_pointers, 5); DEFN_SYSCALL1(alloc, 6, uint32_t); -DEFN_SYSCALL1(free, 7, uint32_t); +DEFN_SYSCALL1(free, 7, uint32_t);
\ No newline at end of file |