Support compiling with `gcc -ansi'.

This commit is contained in:
KATO Takenori 1998-04-18 05:01:24 +00:00
parent 9ff07e3256
commit c243867df2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35260
2 changed files with 6 additions and 2 deletions

View File

@ -1242,9 +1242,9 @@ bs_phase_error(ti, cb)
/**************************************************
* ### SCSI PHASE SEQUENCER ###
**************************************************/
static inline void bs_ack_wait __P((struct bs_softc *, struct targ_info *, struct ccb *));
static BS_INLINE void bs_ack_wait __P((struct bs_softc *, struct targ_info *, struct ccb *));
static inline void
static BS_INLINE void
bs_ack_wait(bsc, ti, cb)
struct bs_softc *bsc;
struct targ_info *ti;

View File

@ -32,7 +32,11 @@
* Copyright (c) 1994, 1995, 1996 Naofumi HONDA. All rights reserved.
*/
#ifdef __FreeBSD__
#define BS_INLINE __inline
#else
#define BS_INLINE inline
#endif
/**************************************************
* CONTROL FLAGS (cf_flags)