summaryrefslogtreecommitdiff
path: root/test
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 /test
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 'test')
-rw-r--r--test/test_llsync_defer.c2
-rw-r--r--test/test_mutex_pi.c2
-rw-r--r--test/test_pmap_update_mp.c2
-rw-r--r--test/test_sref_dirty_zeroes.c2
-rw-r--r--test/test_sref_noref.c2
-rw-r--r--test/test_sref_weakref.c1
-rw-r--r--test/test_vm_page_fill.c1
-rw-r--r--test/test_xcall.c2
8 files changed, 8 insertions, 6 deletions
diff --git a/test/test_llsync_defer.c b/test/test_llsync_defer.c
index 9bce0162..26747998 100644
--- a/test/test_llsync_defer.c
+++ b/test/test_llsync_defer.c
@@ -29,6 +29,7 @@
*/
#include <stddef.h>
+#include <stdio.h>
#include <string.h>
#include <kern/condition.h>
@@ -39,7 +40,6 @@
#include <kern/mutex.h>
#include <kern/panic.h>
#include <kern/param.h>
-#include <kern/printf.h>
#include <kern/thread.h>
#include <kern/work.h>
#include <test/test.h>
diff --git a/test/test_mutex_pi.c b/test/test_mutex_pi.c
index 8f864756..cfadb59c 100644
--- a/test/test_mutex_pi.c
+++ b/test/test_mutex_pi.c
@@ -78,13 +78,13 @@
*/
#include <stddef.h>
+#include <stdio.h>
#include <string.h>
#include <kern/cpumap.h>
#include <kern/error.h>
#include <kern/mutex.h>
#include <kern/panic.h>
-#include <kern/printf.h>
#include <kern/syscnt.h>
#include <kern/thread.h>
#include <kern/turnstile.h>
diff --git a/test/test_pmap_update_mp.c b/test/test_pmap_update_mp.c
index 0c5e2dbd..5588ce83 100644
--- a/test/test_pmap_update_mp.c
+++ b/test/test_pmap_update_mp.c
@@ -25,6 +25,7 @@
*/
#include <stddef.h>
+#include <stdio.h>
#include <string.h>
#include <kern/condition.h>
@@ -33,7 +34,6 @@
#include <kern/mutex.h>
#include <kern/panic.h>
#include <kern/param.h>
-#include <kern/printf.h>
#include <kern/thread.h>
#include <test/test.h>
#include <vm/vm_kmem.h>
diff --git a/test/test_sref_dirty_zeroes.c b/test/test_sref_dirty_zeroes.c
index 40997601..be4c4916 100644
--- a/test/test_sref_dirty_zeroes.c
+++ b/test/test_sref_dirty_zeroes.c
@@ -27,6 +27,7 @@
*/
#include <stddef.h>
+#include <stdio.h>
#include <kern/condition.h>
#include <kern/error.h>
@@ -34,7 +35,6 @@
#include <kern/macros.h>
#include <kern/mutex.h>
#include <kern/panic.h>
-#include <kern/sprintf.h>
#include <kern/sref.h>
#include <kern/syscnt.h>
#include <kern/thread.h>
diff --git a/test/test_sref_noref.c b/test/test_sref_noref.c
index b98edd38..f556d32e 100644
--- a/test/test_sref_noref.c
+++ b/test/test_sref_noref.c
@@ -33,6 +33,7 @@
*/
#include <stddef.h>
+#include <stdio.h>
#include <kern/condition.h>
#include <kern/error.h>
@@ -40,7 +41,6 @@
#include <kern/macros.h>
#include <kern/mutex.h>
#include <kern/panic.h>
-#include <kern/sprintf.h>
#include <kern/sref.h>
#include <kern/syscnt.h>
#include <kern/thread.h>
diff --git a/test/test_sref_weakref.c b/test/test_sref_weakref.c
index 65918a1f..85d4cbec 100644
--- a/test/test_sref_weakref.c
+++ b/test/test_sref_weakref.c
@@ -33,6 +33,7 @@
*/
#include <stddef.h>
+#include <stdio.h>
#include <kern/error.h>
#include <kern/macros.h>
diff --git a/test/test_vm_page_fill.c b/test/test_vm_page_fill.c
index 71711995..fe351038 100644
--- a/test/test_vm_page_fill.c
+++ b/test/test_vm_page_fill.c
@@ -24,6 +24,7 @@
#include <stddef.h>
#include <stdint.h>
+#include <stdio.h>
#include <kern/cpumap.h>
#include <kern/error.h>
diff --git a/test/test_xcall.c b/test/test_xcall.c
index 3552944a..4e02d6f3 100644
--- a/test/test_xcall.c
+++ b/test/test_xcall.c
@@ -21,11 +21,11 @@
*/
#include <stddef.h>
+#include <stdio.h>
#include <kern/error.h>
#include <kern/cpumap.h>
#include <kern/panic.h>
-#include <kern/printf.h>
#include <kern/thread.h>
#include <kern/xcall.h>
#include <test/test.h>