diff options
author | bde <bde@FreeBSD.org> | 1995-04-23 08:05:49 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-04-23 08:05:49 +0000 |
commit | 45be4b20c8a9410247ad9f08dd555f151284e243 (patch) | |
tree | 346b94a49549ae371f52b310e906ba9db932e9c8 /sys/vm/vm_page.h | |
parent | a8bc895edc01d0cd6256e7efdcc4442953fe6ca8 (diff) | |
download | FreeBSD-src-45be4b20c8a9410247ad9f08dd555f151284e243.zip FreeBSD-src-45be4b20c8a9410247ad9f08dd555f151284e243.tar.gz |
inline -> __inline.
Headers should always use `__inline' for inline functions to avoid
syntax errors when modules that don't even use the offending functions
are compiled with `gcc -ansi'.
Diffstat (limited to 'sys/vm/vm_page.h')
-rw-r--r-- | sys/vm/vm_page.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h index 4f34d95..4a4e54d 100644 --- a/sys/vm/vm_page.h +++ b/sys/vm/vm_page.h @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_page.h,v 1.16 1995/03/01 23:30:01 davidg Exp $ + * $Id: vm_page.h,v 1.17 1995/03/26 23:33:14 davidg Exp $ */ /* @@ -256,7 +256,7 @@ int vm_page_bits __P((int, int)); * overhead and should be used only for *very* temporary * holding ("wiring"). */ -static inline void +static __inline void vm_page_hold(vm_page_t mem) { mem->hold_count++; @@ -266,7 +266,7 @@ vm_page_hold(vm_page_t mem) #include <sys/systm.h> /* make GCC shut up */ #endif -static inline void +static __inline void vm_page_unhold(vm_page_t mem) { #ifdef DIAGNOSTIC @@ -277,7 +277,7 @@ vm_page_unhold(vm_page_t mem) #endif } -static inline void +static __inline void vm_page_protect(vm_page_t mem, int prot) { if (prot == VM_PROT_NONE) { |