Use __inline instead of inline to prevent pedantic compiler warnings.

This commit is contained in:
Bruce Evans 1997-12-19 23:25:16 +00:00
parent 1aa9ea7cb9
commit 214279cec9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31880
3 changed files with 12 additions and 12 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;