From 640984579698bf942e20dff816aa4b0a0c3d9ee7 Mon Sep 17 00:00:00 2001 From: bde Date: Fri, 19 Dec 1997 23:25:16 +0000 Subject: Use __inline instead of inline to prevent pedantic compiler warnings. --- sys/kern/vnode_if.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/kern/vnode_if.pl') diff --git a/sys/kern/vnode_if.pl b/sys/kern/vnode_if.pl index 5f59985..78778d5 100644 --- a/sys/kern/vnode_if.pl +++ b/sys/kern/vnode_if.pl @@ -32,7 +32,7 @@ # SUCH DAMAGE. # # @(#)vnode_if.sh 8.1 (Berkeley) 6/10/93 -# $Id: vnode_if.sh,v 1.12 1997/09/10 20:11:02 phk Exp $ +# $Id: vnode_if.sh,v 1.13 1997/10/28 15:58:26 bde Exp $ # # Script to produce VFS front-end sugar. @@ -135,7 +135,7 @@ $AWK ' } # Print out inline struct. - printf("static inline int %s(", uname); + printf("static __inline int %s(", uname); sep = ", "; for (c2 = 0; c2 < c1; ++c2) { if (c2 == c1 - 1) @@ -370,7 +370,7 @@ struct vop_strategy_args { extern struct vnodeop_desc vop_strategy_desc; static int VOP_STRATEGY __P(( struct buf *bp)); -static inline int VOP_STRATEGY(bp) +static __inline int VOP_STRATEGY(bp) struct buf *bp; { struct vop_strategy_args a; @@ -387,7 +387,7 @@ struct vop_bwrite_args { extern struct vnodeop_desc vop_bwrite_desc; static int VOP_BWRITE __P(( struct buf *bp)); -static inline int VOP_BWRITE(bp) +static __inline int VOP_BWRITE(bp) struct buf *bp; { struct vop_bwrite_args a; -- cgit v1.1