summaryrefslogtreecommitdiffstats
path: root/sys/kern/vnode_if.pl
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-12-19 23:25:16 +0000
committerbde <bde@FreeBSD.org>1997-12-19 23:25:16 +0000
commit640984579698bf942e20dff816aa4b0a0c3d9ee7 (patch)
treefd8d75f5cb773aa6e8aa7a8d19c3f9876f5a2688 /sys/kern/vnode_if.pl
parent22c38e9fe83b2a9cae2a8fe28761f27b8abc9825 (diff)
downloadFreeBSD-src-640984579698bf942e20dff816aa4b0a0c3d9ee7.zip
FreeBSD-src-640984579698bf942e20dff816aa4b0a0c3d9ee7.tar.gz
Use __inline instead of inline to prevent pedantic compiler warnings.
Diffstat (limited to 'sys/kern/vnode_if.pl')
-rw-r--r--sys/kern/vnode_if.pl8
1 files changed, 4 insertions, 4 deletions
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;
OpenPOWER on IntegriCloud