From 9b2e28ad7a752c0fe7b60e73ca43c827b45b3ee8 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 7 May 2020 22:19:13 +0200 Subject: Added and applied include-sorting Worked better than I thought! --- src/userspace/libc/stdio/vprintf.c | 2 +- src/userspace/libc/stdlib/atoi.c | 2 +- src/userspace/libc/stdlib/htoi.c | 4 ++-- src/userspace/libc/stdlib/itoa.c | 2 +- src/userspace/libc/syscall.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/userspace/libc') diff --git a/src/userspace/libc/stdio/vprintf.c b/src/userspace/libc/stdio/vprintf.c index dc5ed23..691f153 100644 --- a/src/userspace/libc/stdio/vprintf.c +++ b/src/userspace/libc/stdio/vprintf.c @@ -1,5 +1,5 @@ -#include #include +#include #include #include diff --git a/src/userspace/libc/stdlib/atoi.c b/src/userspace/libc/stdlib/atoi.c index dbfe0cb..80897eb 100644 --- a/src/userspace/libc/stdlib/atoi.c +++ b/src/userspace/libc/stdlib/atoi.c @@ -1,7 +1,7 @@ +#include #include #include #include -#include int atoi(char *str) { diff --git a/src/userspace/libc/stdlib/htoi.c b/src/userspace/libc/stdlib/htoi.c index 8897d20..0d0ab30 100644 --- a/src/userspace/libc/stdlib/htoi.c +++ b/src/userspace/libc/stdlib/htoi.c @@ -1,6 +1,6 @@ -#include -#include #include +#include +#include #include int htoi(char *str) diff --git a/src/userspace/libc/stdlib/itoa.c b/src/userspace/libc/stdlib/itoa.c index b8aa73e..b960796 100644 --- a/src/userspace/libc/stdlib/itoa.c +++ b/src/userspace/libc/stdlib/itoa.c @@ -1,6 +1,6 @@ +#include #include #include -#include #include static const char ITOA_TABLE[] = "0123456789"; diff --git a/src/userspace/libc/syscall.c b/src/userspace/libc/syscall.c index 4b5c200..5a9fda8 100644 --- a/src/userspace/libc/syscall.c +++ b/src/userspace/libc/syscall.c @@ -1,5 +1,5 @@ -#include #include +#include #include /** -- cgit v1.2.3