summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2009-06-04 00:20:54 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2009-06-04 00:20:54 +0000
commitd4afa11a9a38306cb8665844f7511d96cadafffe (patch)
treeac4c4cc92e73dfe0a88870611d922652cca4ee0c /sys
parentc94374bb3608ee276a48f533a37f0574bada1b31 (diff)
remove redefinitions of static and __inline ariane
says were debugging leftovers. ok ariane@
Diffstat (limited to 'sys')
-rw-r--r--sys/uvm/uvm_pmemrange.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/uvm/uvm_pmemrange.c b/sys/uvm/uvm_pmemrange.c
index 86a0d137a97..8130f18c9e4 100644
--- a/sys/uvm/uvm_pmemrange.c
+++ b/sys/uvm/uvm_pmemrange.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_pmemrange.c,v 1.1 2009/06/01 17:42:33 ariane Exp $ */
+/* $OpenBSD: uvm_pmemrange.c,v 1.2 2009/06/04 00:20:53 jsg Exp $ */
/*
* Copyright (c) 2009 Ariane van der Steldt <ariane@stack.nl>
@@ -51,9 +51,6 @@ uvm_pmr_pg_to_memtype(struct vm_page *pg)
return UVM_PMR_MEMTYPE_DIRTY;
}
-/* Cancel static calls (for profiling). */
-#define static
-#define __inline
/* Trees. */
RB_PROTOTYPE(uvm_pmr_addr, vm_page, fq.free.tree, uvm_pmr_addr_cmp);
RB_PROTOTYPE(uvm_pmr_size, vm_page, fq.free.tree, uvm_pmr_size_cmp);
@@ -63,8 +60,6 @@ RB_GENERATE(uvm_pmr_addr, vm_page, fq.free.tree, uvm_pmr_addr_cmp);
RB_GENERATE(uvm_pmr_size, vm_page, fq.free.tree, uvm_pmr_size_cmp);
RB_GENERATE(uvm_pmemrange_addr, uvm_pmemrange, pmr_addr,
uvm_pmemrange_addr_cmp);
-#undef static
-#undef __inline
/* Validation. */
#ifdef DEBUG