summaryrefslogtreecommitdiff
path: root/kern/kmem.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-04-29 21:47:28 +0200
committerRichard Braun <rbraun@sceen.net>2017-04-29 21:59:03 +0200
commit5a048710ee9dd4112ec467da29fef27ef18b0876 (patch)
tree6998b99fc74d459c00d0e3bd2d50c56502c24be2 /kern/kmem.c
parentd78a948f0a1d8b7b3385944c736d7cffd8ca67a7 (diff)
New stdio.h standard header
Make kernel code obtain definitions for the printf family of functions through the inclusion of the standard stdio.h header.
Diffstat (limited to 'kern/kmem.c')
-rw-r--r--kern/kmem.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kern/kmem.c b/kern/kmem.c
index 60b8db9c..5cce5589 100644
--- a/kern/kmem.c
+++ b/kern/kmem.c
@@ -44,6 +44,7 @@
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
+#include <stdio.h>
#include <string.h>
#include <kern/assert.h>
@@ -57,8 +58,6 @@
#include <kern/mutex.h>
#include <kern/panic.h>
#include <kern/param.h>
-#include <kern/printf.h>
-#include <kern/sprintf.h>
#include <kern/thread.h>
#include <machine/cpu.h>
#include <machine/pmap.h>