diff options
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"; |