diff options
author | Luca Dariz <luca@orpolo.org> | 2022-06-28 12:10:52 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-08-27 22:50:10 +0200 |
commit | 9acc5293e0386bfc0c505ac2efd287e610e7b662 (patch) | |
tree | d0b3856e21ef9d249f749df6b5e69c3ae10f88df /kern | |
parent | 3e1702a65fb3caf50c8d09a1b383b0056a5efc82 (diff) | |
download | gnumach-9acc5293e0386bfc0c505ac2efd287e610e7b662.tar.gz gnumach-9acc5293e0386bfc0c505ac2efd287e610e7b662.tar.bz2 gnumach-9acc5293e0386bfc0c505ac2efd287e610e7b662.zip |
cleanup headers in printf.c
* kern/printf.c: remove unnecessary #include and reorder
This allows the file to be reused for minimal user-space tests.
Signed-off-by: Luca Dariz <luca@orpolo.org>
Message-Id: <20220628101054.446126-14-luca@orpolo.org>
Diffstat (limited to 'kern')
-rw-r--r-- | kern/printf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/printf.c b/kern/printf.c index 50f23623..cbc27ae6 100644 --- a/kern/printf.c +++ b/kern/printf.c @@ -116,12 +116,12 @@ * (compatibility) */ +#include <stdarg.h> #include <string.h> #include <device/cons.h> #include <kern/printf.h> #include <mach/boolean.h> -#include <kern/lock.h> -#include <stdarg.h> + #define isdigit(d) ((d) >= '0' && (d) <= '9') #define Ctod(c) ((c) - '0') |