From 654855512be09fd9e30f710aaada0226c6977521 Mon Sep 17 00:00:00 2001 From: niklas Date: Wed, 18 Dec 1996 18:30:58 +0000 Subject: [PATCH] Conditionalize GCC and ANSI/ISO C dependencies --- sys/nfs/nfs_subs.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/sys/nfs/nfs_subs.c b/sys/nfs/nfs_subs.c index 27e475c0ebc..252da8bdbf1 100644 --- a/sys/nfs/nfs_subs.c +++ b/sys/nfs/nfs_subs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_subs.c,v 1.14 1996/12/17 03:46:38 dm Exp $ */ +/* $OpenBSD: nfs_subs.c,v 1.15 1996/12/18 18:30:58 niklas Exp $ */ /* $NetBSD: nfs_subs.c,v 1.27.4.3 1996/07/08 20:34:24 jtc Exp $ */ /* @@ -80,6 +80,14 @@ #include #endif +#ifdef __GNUC__ +#define INLINE __inline +#else +#define INLINE +#endif + +int nfs_attrtimeo __P((struct nfsnode *np)); + /* * Data items converted to xdr at startup, since they are constant * This is kinda hokey, but may save a little time doing byte swaps @@ -1321,8 +1329,9 @@ nfs_loadattrcache(vpp, mdp, dposp, vaper) return (0); } -inline int -nfs_attrtimeo (struct nfsnode *np) +INLINE int +nfs_attrtimeo (np) + struct nfsnode *np; { struct vnode *vp = np->n_vnode; struct nfsmount *nmp = VFSTONFS(vp->v_mount); -- 2.20.1