From 4787aab9610dbe0576c5105bd14cc2d71f908954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 2 Oct 2008 08:28:04 +0000 Subject: [PATCH] * Fixed the build when ENABLE_SWAP_SUPPORT is not defined. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27838 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/vm/VMAnonymousCache.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/system/kernel/vm/VMAnonymousCache.h b/src/system/kernel/vm/VMAnonymousCache.h index 3811078b0a..8d5c1ab002 100644 --- a/src/system/kernel/vm/VMAnonymousCache.h +++ b/src/system/kernel/vm/VMAnonymousCache.h @@ -1,6 +1,6 @@ /* * Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de. - * Copyright 2004-2007, Axel Dörfler, axeld@pinc-software.de. + * Copyright 2004-2008, Axel Dörfler, axeld@pinc-software.de. * Distributed under the terms of the MIT License. * * Copyright 2001-2002, Travis Geiselbrecht. All rights reserved. @@ -25,7 +25,6 @@ extern "C" { bool swap_free_page_swap_space(vm_page *page); uint32 swap_available_pages(void); uint32 swap_total_swap_pages(void); - void swap_get_info(struct system_memory_info *info); } @@ -74,4 +73,6 @@ private: #endif // ENABLE_SWAP_SUPPORT +extern "C" void swap_get_info(struct system_memory_info *info); + #endif /* _KERNEL_VM_STORE_ANONYMOUS_H */