From d4b231dd9f874076c62f35590a9f6b93ca6481d7 Mon Sep 17 00:00:00 2001 From: Maksym Planeta Date: Sun, 8 Jan 2012 14:51:42 +0200 Subject: Remove warnings during compilation. * mach-defpager/kalloc.c: Added missing prototypes, headers, types. * mach-defpager/wiring.c: Likewise. * mach-defpager/default_pager.c: Likewise. * mach-defpager/main.c: Likewise. * mach-defpager/setup.c: Likewise. (S_default_pager_paging_storage): Fix wrong calling of kfree. * mach-defpager/kalloc.h: New file with prototypes from kalloc.c. * mach-defpager/default_pager.h: New file with prototypes from default_pager.c. * mach-defpager/Makefile (LCLHDRS): Add new header files. --- mach-defpager/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mach-defpager/main.c') diff --git a/mach-defpager/main.c b/mach-defpager/main.c index 0be9dee1..c44c86cb 100644 --- a/mach-defpager/main.c +++ b/mach-defpager/main.c @@ -31,6 +31,7 @@ #include #include #include +#include /* XXX */ #include @@ -42,6 +43,7 @@ #include /* XXX */ +#include extern vm_size_t cthread_wait_stack_size; -- cgit v1.2.3