diff options
author | Marvin Borner | 2020-05-07 22:19:13 +0200 |
---|---|---|
committer | Marvin Borner | 2020-05-07 22:19:13 +0200 |
commit | 9b2e28ad7a752c0fe7b60e73ca43c827b45b3ee8 (patch) | |
tree | 5b1b48ccf8324cced9ae9c4139b493cd98789cc2 /src/kernel/lib/stdlib | |
parent | 43184e40b14a5e41383ffb053e7c69c93ff81036 (diff) |
Added and applied include-sorting
Worked better than I thought!
Diffstat (limited to 'src/kernel/lib/stdlib')
-rw-r--r-- | src/kernel/lib/stdlib/atoi.c | 2 | ||||
-rw-r--r-- | src/kernel/lib/stdlib/htoa.c | 2 | ||||
-rw-r--r-- | src/kernel/lib/stdlib/htoi.c | 2 | ||||
-rw-r--r-- | src/kernel/lib/stdlib/itoa.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/kernel/lib/stdlib/atoi.c b/src/kernel/lib/stdlib/atoi.c index cd855ab..b90958a 100644 --- a/src/kernel/lib/stdlib/atoi.c +++ b/src/kernel/lib/stdlib/atoi.c @@ -1,7 +1,7 @@ #include <lib/math.h> +#include <lib/string.h> #include <stddef.h> #include <stdint.h> -#include <lib/string.h> int atoi(char *str) { diff --git a/src/kernel/lib/stdlib/htoa.c b/src/kernel/lib/stdlib/htoa.c index 7a535dd..c4dbd5e 100644 --- a/src/kernel/lib/stdlib/htoa.c +++ b/src/kernel/lib/stdlib/htoa.c @@ -1,6 +1,6 @@ -#include <stdint.h> #include <lib/string.h> #include <memory/alloc.h> +#include <stdint.h> static const char HTOA_TABLE[] = "0123456789ABCDEF"; diff --git a/src/kernel/lib/stdlib/htoi.c b/src/kernel/lib/stdlib/htoi.c index 7d05239..367d30e 100644 --- a/src/kernel/lib/stdlib/htoi.c +++ b/src/kernel/lib/stdlib/htoi.c @@ -1,6 +1,6 @@ #include <lib/math.h> -#include <stddef.h> #include <lib/string.h> +#include <stddef.h> int htoi(char *str) { diff --git a/src/kernel/lib/stdlib/itoa.c b/src/kernel/lib/stdlib/itoa.c index 165e260..b4a9db1 100644 --- a/src/kernel/lib/stdlib/itoa.c +++ b/src/kernel/lib/stdlib/itoa.c @@ -1,8 +1,8 @@ #include <lib/math.h> -#include <stdint.h> #include <lib/string.h> #include <memory/alloc.h> #include <memory/paging.h> +#include <stdint.h> static const char ITOA_TABLE[] = "0123456789"; |