git: f94b1a8ca6e0 - main - scsi: Use proper prototype for SYSINIT functions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Oct 2025 10:13:41 UTC
The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=f94b1a8ca6e016aeff09e2053dc293b83c3aa912 commit f94b1a8ca6e016aeff09e2053dc293b83c3aa912 Author: Zhenlei Huang <zlei@FreeBSD.org> AuthorDate: 2025-10-13 10:12:28 +0000 Commit: Zhenlei Huang <zlei@FreeBSD.org> CommitDate: 2025-10-13 10:12:28 +0000 scsi: Use proper prototype for SYSINIT functions MFC after: 1 week --- sys/cam/scsi/scsi_all.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/cam/scsi/scsi_all.c b/sys/cam/scsi/scsi_all.c index b518f84454ad..9c097f52d136 100644 --- a/sys/cam/scsi/scsi_all.c +++ b/sys/cam/scsi/scsi_all.c @@ -112,7 +112,7 @@ static void fetchtableentries(int sense_key, int asc, int ascq, const struct asc_table_entry **); #ifdef _KERNEL -static void init_scsi_delay(void); +static void init_scsi_delay(void *); static int sysctl_scsi_delay(SYSCTL_HANDLER_ARGS); static int set_scsi_delay(int delay); #endif @@ -9379,7 +9379,7 @@ scsi_vpd_supported_page(struct cam_periph *periph, uint8_t page_id) } static void -init_scsi_delay(void) +init_scsi_delay(void *dummy __unused) { int delay;