Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147514334
D24854.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D24854.diff
View Options
Index: head/sys/cam/ata/ata_xpt.c
===================================================================
--- head/sys/cam/ata/ata_xpt.c
+++ head/sys/cam/ata/ata_xpt.c
@@ -270,7 +270,7 @@
CAM_XPT_PROTO(ata_proto_semb);
static void
-aprobe_periph_init()
+aprobe_periph_init(void)
{
}
Index: head/sys/cam/cam_xpt.c
===================================================================
--- head/sys/cam/cam_xpt.c
+++ head/sys/cam/cam_xpt.c
@@ -354,7 +354,7 @@
}
static void
-xpt_periph_init()
+xpt_periph_init(void)
{
make_dev(&xpt_cdevsw, 0, UID_ROOT, GID_OPERATOR, 0600, "xpt0");
}
@@ -4669,7 +4669,7 @@
}
union ccb *
-xpt_alloc_ccb()
+xpt_alloc_ccb(void)
{
union ccb *new_ccb;
@@ -4678,7 +4678,7 @@
}
union ccb *
-xpt_alloc_ccb_nowait()
+xpt_alloc_ccb_nowait(void)
{
union ccb *new_ccb;
Index: head/sys/cam/mmc/mmc_xpt.c
===================================================================
--- head/sys/cam/mmc/mmc_xpt.c
+++ head/sys/cam/mmc/mmc_xpt.c
@@ -467,7 +467,7 @@
#define CARD_ID_FREQUENCY 400000 /* Spec requires 400kHz max during ID phase. */
static void
-probe_periph_init()
+probe_periph_init(void)
{
}
Index: head/sys/cam/nvme/nvme_xpt.c
===================================================================
--- head/sys/cam/nvme/nvme_xpt.c
+++ head/sys/cam/nvme/nvme_xpt.c
@@ -192,9 +192,8 @@
CAM_XPT_PROTO(nvme_proto);
static void
-nvme_probe_periph_init()
+nvme_probe_periph_init(void)
{
-
}
static cam_status
Index: head/sys/cam/scsi/scsi_targ_bh.c
===================================================================
--- head/sys/cam/scsi/scsi_targ_bh.c
+++ head/sys/cam/scsi/scsi_targ_bh.c
@@ -737,7 +737,7 @@
#endif
static struct targbh_cmd_desc*
-targbhallocdescr()
+targbhallocdescr(void)
{
struct targbh_cmd_desc* descr;
Index: head/sys/cam/scsi/scsi_xpt.c
===================================================================
--- head/sys/cam/scsi/scsi_xpt.c
+++ head/sys/cam/scsi/scsi_xpt.c
@@ -649,7 +649,7 @@
CAM_XPT_PROTO(scsi_proto);
static void
-probe_periph_init()
+probe_periph_init(void)
{
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 12, 1:48 PM (4 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29562847
Default Alt Text
D24854.diff (2 KB)
Attached To
Mode
D24854: cam: ANSIfy 0-argument function definitions
Attached
Detach File
Event Timeline
Log In to Comment