svn commit: r274517 - projects/sendfile/sys/vm
Gleb Smirnoff
glebius at FreeBSD.org
Fri Nov 14 18:01:19 UTC 2014
Author: glebius
Date: Fri Nov 14 18:01:18 2014
New Revision: 274517
URL: https://svnweb.freebsd.org/changeset/base/274517
Log:
Use C99 "inline" keyword.
Modified:
projects/sendfile/sys/vm/vm_pager.h
Modified: projects/sendfile/sys/vm/vm_pager.h
==============================================================================
--- projects/sendfile/sys/vm/vm_pager.h Fri Nov 14 18:00:00 2014 (r274516)
+++ projects/sendfile/sys/vm/vm_pager.h Fri Nov 14 18:01:18 2014 (r274517)
@@ -106,7 +106,7 @@ vm_object_t vm_pager_allocate(objtype_t,
void vm_pager_bufferinit(void);
void vm_pager_deallocate(vm_object_t);
static __inline int vm_pager_get_pages(vm_object_t, vm_page_t *, int, int);
-static __inline int vm_pager_get_pages_async(vm_object_t, vm_page_t *, int,
+static inline int vm_pager_get_pages_async(vm_object_t, vm_page_t *, int,
int, void(*)(void *, int), void *);
static __inline boolean_t vm_pager_has_page(vm_object_t, vm_pindex_t, int *, int *);
void vm_pager_init(void);
@@ -138,7 +138,7 @@ vm_pager_get_pages(
return (r);
}
-static __inline int
+static inline int
vm_pager_get_pages_async(vm_object_t object, vm_page_t *m, int count,
int reqpage, void (*iodone)(void *, int), void *arg)
{
More information about the svn-src-projects
mailing list