Print this page
remove support for non-ANSI compilation

*** 18,27 **** --- 18,28 ---- * * CDDL HEADER END */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> * Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved. */ #ifndef _SYS_SCSI_IMPL_COMMANDS_H #define _SYS_SCSI_IMPL_COMMANDS_H
*** 667,677 **** * Functional versions of the above macros, and other functions. * the makecom functions have been deprecated. Please use * scsi_setup_cdb() */ - #ifdef __STDC__ extern void makecom_g0(struct scsi_pkt *pkt, struct scsi_device *devp, int flag, int cmd, int addr, int cnt); extern void makecom_g0_s(struct scsi_pkt *pkt, struct scsi_device *devp, int flag, int cmd, int cnt, int fixbit); extern void makecom_g1(struct scsi_pkt *pkt, struct scsi_device *devp, --- 668,677 ----
*** 679,698 **** extern void makecom_g5(struct scsi_pkt *pkt, struct scsi_device *devp, int flag, int cmd, int addr, int cnt); extern int scsi_setup_cdb(union scsi_cdb *cdbp, uchar_t cmd, uint_t addr, uint_t cnt, uint_t addtl_cdb_data); - #else /* __STDC__ */ - - extern void makecom_g0(); - extern void makecom_g0_s(); - extern void makecom_g1(); - extern void makecom_g5(); - extern int scsi_setup_cdb(); - - #endif /* __STDC__ */ - #endif /* _KERNEL */ #ifdef __cplusplus } #endif --- 679,688 ----