Remove leading __ from __(inline|const|signed|volatile). They are

obsolete.  This should reduce diffs to NetBSD as well.
This commit is contained in:
Warner Losh 2006-03-08 06:31:46 +00:00
parent e11aae440c
commit 62a59e8f0d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156420
5 changed files with 10 additions and 10 deletions

View File

@ -1588,7 +1588,7 @@ swap_pager_isswapped(vm_object_t object, struct swdevt *sp)
* XXX - The code to page the whole block in doesn't work, so we
* revert to the one-by-one behavior for now. Sigh.
*/
static __inline void
static inline void
swp_pager_force_pagein(vm_object_t object, vm_pindex_t pindex)
{
vm_page_t m;

View File

@ -130,7 +130,7 @@ struct faultstate {
struct vnode *vp;
};
static __inline void
static inline void
release_page(struct faultstate *fs)
{
vm_page_lock_queues();
@ -140,7 +140,7 @@ release_page(struct faultstate *fs)
fs->m = NULL;
}
static __inline void
static inline void
unlock_map(struct faultstate *fs)
{
if (fs->lookup_still_valid) {

View File

@ -280,7 +280,7 @@ vm_init2(void)
vmspace_zinit, vmspace_zfini, UMA_ALIGN_PTR, UMA_ZONE_NOFREE);
}
static __inline void
static inline void
vmspace_dofree(struct vmspace *vm)
{
CTR1(KTR_VM, "vmspace_free: %p", vm);
@ -560,7 +560,7 @@ vm_map_entry_create(vm_map_t map)
* Set the expected access behavior, either normal, random, or
* sequential.
*/
static __inline void
static inline void
vm_map_entry_set_behavior(vm_map_entry_t entry, u_char behavior)
{
entry->eflags = (entry->eflags & ~MAP_ENTRY_BEHAV_MASK) |
@ -572,7 +572,7 @@ vm_map_entry_set_behavior(vm_map_entry_t entry, u_char behavior)
*
* Set the max_free field in a vm_map_entry.
*/
static __inline void
static inline void
vm_map_entry_set_max_free(vm_map_entry_t entry)
{

View File

@ -980,7 +980,7 @@ vm_page_activate(vm_page_t m)
* The page queues must be locked.
* This routine may not block.
*/
static __inline void
static inline void
vm_page_free_wakeup(void)
{
@ -1220,7 +1220,7 @@ vm_page_unwire(vm_page_t m, int activate)
*
* This routine may not block.
*/
static __inline void
static inline void
_vm_page_deactivate(vm_page_t m, int athead)
{
@ -1449,7 +1449,7 @@ vm_page_grab(vm_object_t object, vm_pindex_t pindex, int allocflags)
*
* Inputs are required to range within a page.
*/
__inline int
inline int
vm_page_bits(int base, int size)
{
int first_bit;

View File

@ -304,7 +304,7 @@ vm_pageq_remove(vm_page_t m)
* This routine may only be called from the vm_pageq_find()
* function in this file.
*/
static __inline vm_page_t
static inline vm_page_t
_vm_pageq_find(int basequeue, int index)
{
int i;