Made C++ safe.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5075 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2003-10-17 14:42:45 +00:00
parent bd77051dc3
commit 50ba16fccf
4 changed files with 36 additions and 2 deletions
+9
View File
@@ -5,12 +5,17 @@
#ifndef _KERNEL_VM_CACHE_H
#define _KERNEL_VM_CACHE_H
#include <kernel.h>
#include <vm.h>
struct kernel_args;
#ifdef __cplusplus
extern "C" {
#endif
int vm_cache_init(struct kernel_args *ka);
vm_cache *vm_cache_create(vm_store *store);
vm_cache_ref *vm_cache_ref_create(vm_cache *cache);
@@ -22,4 +27,8 @@ void vm_cache_remove_page(vm_cache_ref *cache_ref, vm_page *page);
int vm_cache_insert_region(vm_cache_ref *cache_ref, vm_region *region);
int vm_cache_remove_region(vm_cache_ref *cache_ref, vm_region *region);
#ifdef __cplusplus
}
#endif
#endif /* _KERNEL_VM_CACHE_H */