mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-23 17:31:43 +01:00
Support compiling with `gcc -ansi'.
This commit is contained in:
parent
9ff07e3256
commit
c243867df2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35260
@ -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;
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user