diff options
author | Maksym Planeta <mcsim.planeta@gmail.com> | 2012-01-08 14:51:42 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-03-26 23:43:51 +0200 |
commit | d4b231dd9f874076c62f35590a9f6b93ca6481d7 (patch) | |
tree | 5a05a26e583aba1a191b72118be47571b9cbefbc /mach-defpager/wiring.c | |
parent | f605070d37c741436b5f82745eae2a5c018e304d (diff) |
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.
Diffstat (limited to 'mach-defpager/wiring.c')
-rw-r--r-- | mach-defpager/wiring.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mach-defpager/wiring.c b/mach-defpager/wiring.c index 585a3075..8bf49934 100644 --- a/mach-defpager/wiring.c +++ b/mach-defpager/wiring.c @@ -29,6 +29,7 @@ #include <mach.h> #include <mach_init.h> #include <mach/machine/vm_param.h> +#include "default_pager.h" mach_port_t this_task; /* our task */ mach_port_t priv_host_port = MACH_PORT_NULL; |