aboutsummaryrefslogtreecommitdiff
path: root/sys/tools
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-12-19 23:25:16 +0000
committerBruce Evans <bde@FreeBSD.org>1997-12-19 23:25:16 +0000
commit214279cec9f8f0168e39bd9ff34d706537c42041 (patch)
tree123c26004831fbc3a9b8558cd4fa8208f7563055 /sys/tools
parent1aa9ea7cb9d3e182309e5437d9ff8ba99cb324f1 (diff)
downloadsrc-214279cec9f8f0168e39bd9ff34d706537c42041.tar.gz
src-214279cec9f8f0168e39bd9ff34d706537c42041.zip
Use __inline instead of inline to prevent pedantic compiler warnings.
Notes
Notes: svn path=/head/; revision=31880
Diffstat (limited to 'sys/tools')
-rw-r--r--sys/tools/vnode_if.awk8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/tools/vnode_if.awk b/sys/tools/vnode_if.awk
index 5f599850cc84..78778d590e5e 100644
--- a/sys/tools/vnode_if.awk
+++ b/sys/tools/vnode_if.awk
@@ -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;