diff options
author | 1996-02-28 15:03:41 +0000 | |
---|---|---|
committer | 1996-02-28 15:03:41 +0000 | |
commit | 2ee6007cadb57c00abb9c4fdc30f0f424ce4ed2c (patch) | |
tree | c176673d89a86d399bbfb7272593769939a240ce /sys | |
parent | Small changes from NetBSD (including /usr/include dependencies, and so). (diff) | |
download | wireguard-openbsd-2ee6007cadb57c00abb9c4fdc30f0f424ce4ed2c.tar.xz wireguard-openbsd-2ee6007cadb57c00abb9c4fdc30f0f424ce4ed2c.zip |
From NetBSD:
pmap_page_index return type must be int, not u_int.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/include/pmap.h | 4 | ||||
-rw-r--r-- | sys/arch/i386/include/pmap.old.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/i386/include/pmap.h b/sys/arch/i386/include/pmap.h index 0fda8d0b976..fe10012495b 100644 --- a/sys/arch/i386/include/pmap.h +++ b/sys/arch/i386/include/pmap.h @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.h,v 1.21 1995/10/11 04:20:20 mycroft Exp $ */ +/* $OpenBSD: pmap.h,v 1.2 1996/02/28 15:03:41 mickey Exp $ */ /* * Copyright (c) 1995 Charles M. Hannum. All rights reserved. @@ -84,7 +84,7 @@ extern int PTDpaddr; /* physical address of kernel PTD */ void pmap_bootstrap __P((vm_offset_t start)); boolean_t pmap_testbit __P((vm_offset_t, int)); void pmap_changebit __P((vm_offset_t, int, int)); -__pure u_int pmap_page_index __P((vm_offset_t)); +__pure int pmap_page_index __P((vm_offset_t)); #endif /* diff --git a/sys/arch/i386/include/pmap.old.h b/sys/arch/i386/include/pmap.old.h index 0fda8d0b976..309b1df5379 100644 --- a/sys/arch/i386/include/pmap.old.h +++ b/sys/arch/i386/include/pmap.old.h @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.h,v 1.21 1995/10/11 04:20:20 mycroft Exp $ */ +/* $OpenBSD: pmap.old.h,v 1.2 1996/02/28 15:03:41 mickey Exp $ */ /* * Copyright (c) 1995 Charles M. Hannum. All rights reserved. @@ -84,7 +84,7 @@ extern int PTDpaddr; /* physical address of kernel PTD */ void pmap_bootstrap __P((vm_offset_t start)); boolean_t pmap_testbit __P((vm_offset_t, int)); void pmap_changebit __P((vm_offset_t, int, int)); -__pure u_int pmap_page_index __P((vm_offset_t)); +__pure int pmap_page_index __P((vm_offset_t)); #endif /* |