summaryrefslogtreecommitdiff
path: root/vm
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 /vm
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 'vm')
-rw-r--r--vm/vm_map.c2
-rw-r--r--vm/vm_page.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/vm/vm_map.c b/vm/vm_map.c
index 217aae7..657f4b5 100644
--- a/vm/vm_map.c
+++ b/vm/vm_map.c
@@ -21,6 +21,7 @@
#include <stddef.h>
#include <stdint.h>
+#include <stdio.h>
#include <kern/assert.h>
#include <kern/error.h>
@@ -31,7 +32,6 @@
#include <kern/mutex.h>
#include <kern/panic.h>
#include <kern/param.h>
-#include <kern/printf.h>
#include <kern/rbtree.h>
#include <machine/pmap.h>
#include <vm/vm_adv.h>
diff --git a/vm/vm_page.c b/vm/vm_page.c
index 138f028..284964a 100644
--- a/vm/vm_page.c
+++ b/vm/vm_page.c
@@ -32,6 +32,7 @@
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
+#include <stdio.h>
#include <string.h>
#include <kern/assert.h>
@@ -41,8 +42,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>