diff options
author | bde <bde@FreeBSD.org> | 1998-04-15 17:47:40 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-04-15 17:47:40 +0000 |
commit | b598f559b2947bb9582b53221185bb27d86cd68f (patch) | |
tree | f0a3b1121a7c68f5b6b630a3981fb3a4fbbc9c43 /sys/dev/ppbus | |
parent | 37b60f29dd0d528b8bc950b0b559f304b73db9ec (diff) | |
download | FreeBSD-src-b598f559b2947bb9582b53221185bb27d86cd68f.zip FreeBSD-src-b598f559b2947bb9582b53221185bb27d86cd68f.tar.gz |
Support compiling with `gcc -ansi'.
Diffstat (limited to 'sys/dev/ppbus')
-rw-r--r-- | sys/dev/ppbus/vpo.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/ppbus/vpo.c b/sys/dev/ppbus/vpo.c index 8f61c05..44cb54d 100644 --- a/sys/dev/ppbus/vpo.c +++ b/sys/dev/ppbus/vpo.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: vpo.c,v 1.3 1997/08/28 10:15:20 msmith Exp $ + * $Id: vpo.c,v 1.4 1997/09/01 00:51:52 bde Exp $ * */ @@ -63,8 +63,8 @@ * -------------------------------------------------------------------- */ -static inline int vpoio_do_scsi(struct vpo_data *, int, int, char *, int, - char *, int, int *, int *); +static __inline int vpoio_do_scsi(struct vpo_data *, int, int, char *, int, + char *, int, int *, int *); static int32_t vpo_scsi_cmd(struct scsi_xfer *); static void vpominphys(struct buf *); @@ -220,7 +220,7 @@ vpominphys(struct buf *bp) } #ifdef VP0_WARNING -static inline void +static __inline void vpo_warning(struct vpo_data *vpo, struct scsi_xfer *xs, int timeout) { @@ -269,7 +269,7 @@ vpo_warning(struct vpo_data *vpo, struct scsi_xfer *xs, int timeout) /* * vpointr() */ -static inline void +static __inline void vpointr(struct vpo_data *vpo, struct scsi_xfer *xs) { @@ -694,7 +694,7 @@ vpoio_instr(struct vpo_data *vpo, char *buffer, int size) return (error); } -static inline char +static __inline char vpoio_select(struct vpo_data *vpo, int initiator, int target) { @@ -721,7 +721,7 @@ vpoio_select(struct vpo_data *vpo, int initiator, int target) * * H_SELIN must be low. */ -static inline char +static __inline char vpoio_wait(struct vpo_data *vpo, int tmo) { @@ -752,7 +752,7 @@ vpoio_wait(struct vpo_data *vpo, int tmo) return (0); /* command timed out */ } -static inline int +static __inline int vpoio_do_scsi(struct vpo_data *vpo, int host, int target, char *command, int clen, char *buffer, int blen, int *result, int *count) { |