Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Remove __BEGIN_DECLS/__END_DECLS
details: https://anonhg.NetBSD.org/src/rev/6223e84b2023
branches: trunk
changeset: 784573:6223e84b2023
user: matt <matt%NetBSD.org@localhost>
date: Sat Feb 02 14:06:58 2013 +0000
description:
Remove __BEGIN_DECLS/__END_DECLS
Allow pmap_kenter_pa to be a macro.
diffstat:
sys/uvm/uvm_pmap.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 33f555104ed7 -r 6223e84b2023 sys/uvm/uvm_pmap.h
--- a/sys/uvm/uvm_pmap.h Sat Feb 02 14:03:38 2013 +0000
+++ b/sys/uvm/uvm_pmap.h Sat Feb 02 14:06:58 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_pmap.h,v 1.37 2011/06/30 00:49:14 matt Exp $ */
+/* $NetBSD: uvm_pmap.h,v 1.38 2013/02/02 14:06:58 matt Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -137,7 +137,6 @@
#ifndef PMAP_EXCLUDE_DECLS /* Used in Sparc port to virtualize pmap mod */
#ifdef _KERNEL
-__BEGIN_DECLS
void pmap_activate(struct lwp *);
void pmap_deactivate(struct lwp *);
void pmap_unwire(pmap_t, vaddr_t);
@@ -165,7 +164,9 @@
void pmap_init(void);
+#if !defined(pmap_kenter_pa)
void pmap_kenter_pa(vaddr_t, paddr_t, vm_prot_t, u_int);
+#endif
void pmap_kremove(vaddr_t, vsize_t);
#if !defined(pmap_is_modified)
bool pmap_is_modified(struct vm_page *);
@@ -211,7 +212,6 @@
#if defined(PMAP_FORK)
void pmap_fork(pmap_t, pmap_t);
#endif
-__END_DECLS
#endif /* kernel*/
#endif /* PMAP_EXCLUDE_DECLS */
Home |
Main Index |
Thread Index |
Old Index