summaryrefslogtreecommitdiffstats
path: root/sys/vm/memguard.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/memguard.h')
-rw-r--r--sys/vm/memguard.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/vm/memguard.h b/sys/vm/memguard.h
index 55ffec9..ba7c2f1 100644
--- a/sys/vm/memguard.h
+++ b/sys/vm/memguard.h
@@ -26,8 +26,14 @@
* $FreeBSD$
*/
+#ifndef _VM_MEMGUARD_H_
+#define _VM_MEMGUARD_H_
+
#include "opt_vm.h"
+struct malloc_type;
+struct vm_map;
+
#ifdef DEBUG_MEMGUARD
unsigned long memguard_fudge(unsigned long, unsigned long);
void memguard_init(struct vm_map *);
@@ -43,3 +49,5 @@ int is_memguard_addr(void *);
#define memguard_cmp(mtp, size) 0
#define is_memguard_addr(addr) 0
#endif
+
+#endif /* _VM_MEMGUARD_H_ */
OpenPOWER on IntegriCloud