cam: ANSIfy 0-argument function definitions
No functional change. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D24854
This commit is contained in:
parent
cf9f2ca3ef
commit
9982b3ee29
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=361111
@ -270,7 +270,7 @@ CAM_XPT_PROTO(ata_proto_satapm);
|
|||||||
CAM_XPT_PROTO(ata_proto_semb);
|
CAM_XPT_PROTO(ata_proto_semb);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
aprobe_periph_init()
|
aprobe_periph_init(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -354,7 +354,7 @@ device_is_queued(struct cam_ed *device)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xpt_periph_init()
|
xpt_periph_init(void)
|
||||||
{
|
{
|
||||||
make_dev(&xpt_cdevsw, 0, UID_ROOT, GID_OPERATOR, 0600, "xpt0");
|
make_dev(&xpt_cdevsw, 0, UID_ROOT, GID_OPERATOR, 0600, "xpt0");
|
||||||
}
|
}
|
||||||
@ -4669,7 +4669,7 @@ xpt_done_direct(union ccb *done_ccb)
|
|||||||
}
|
}
|
||||||
|
|
||||||
union ccb *
|
union ccb *
|
||||||
xpt_alloc_ccb()
|
xpt_alloc_ccb(void)
|
||||||
{
|
{
|
||||||
union ccb *new_ccb;
|
union ccb *new_ccb;
|
||||||
|
|
||||||
@ -4678,7 +4678,7 @@ xpt_alloc_ccb()
|
|||||||
}
|
}
|
||||||
|
|
||||||
union ccb *
|
union ccb *
|
||||||
xpt_alloc_ccb_nowait()
|
xpt_alloc_ccb_nowait(void)
|
||||||
{
|
{
|
||||||
union ccb *new_ccb;
|
union ccb *new_ccb;
|
||||||
|
|
||||||
|
@ -467,7 +467,7 @@ PERIPHDRIVER_DECLARE(mmcprobe, probe_driver);
|
|||||||
#define CARD_ID_FREQUENCY 400000 /* Spec requires 400kHz max during ID phase. */
|
#define CARD_ID_FREQUENCY 400000 /* Spec requires 400kHz max during ID phase. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
probe_periph_init()
|
probe_periph_init(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -192,9 +192,8 @@ static struct xpt_proto nvme_proto = {
|
|||||||
CAM_XPT_PROTO(nvme_proto);
|
CAM_XPT_PROTO(nvme_proto);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
nvme_probe_periph_init()
|
nvme_probe_periph_init(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static cam_status
|
static cam_status
|
||||||
|
@ -737,7 +737,7 @@ targbherror(union ccb *ccb, u_int32_t cam_flags, u_int32_t sense_flags)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
static struct targbh_cmd_desc*
|
static struct targbh_cmd_desc*
|
||||||
targbhallocdescr()
|
targbhallocdescr(void)
|
||||||
{
|
{
|
||||||
struct targbh_cmd_desc* descr;
|
struct targbh_cmd_desc* descr;
|
||||||
|
|
||||||
|
@ -649,7 +649,7 @@ static struct xpt_proto scsi_proto = {
|
|||||||
CAM_XPT_PROTO(scsi_proto);
|
CAM_XPT_PROTO(scsi_proto);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
probe_periph_init()
|
probe_periph_init(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user