bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 13/15] cleanup headers in printf.c


From: Luca Dariz
Subject: [PATCH 13/15] cleanup headers in printf.c
Date: Tue, 28 Jun 2022 12:10:52 +0200

* 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>
---
 kern/printf.c | 4 ++--
 1 file 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')
-- 
2.30.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]