Use a better way to silence unneeded internal declaration warnings in
several sys/cam/ctl files. Suggested by: ed Reviewed by: ken MFC after: 1 week
This commit is contained in:
parent
102a319895
commit
c995195062
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232074
@ -297,7 +297,7 @@ struct ctl_page_index {
|
||||
#define CTL_PAGE_DEFAULT 0x02
|
||||
#define CTL_PAGE_SAVED 0x03
|
||||
|
||||
static struct ctl_page_index page_index_template[] = {
|
||||
static const struct ctl_page_index page_index_template[] = {
|
||||
{SMS_FORMAT_DEVICE_PAGE, 0, sizeof(struct scsi_format_page), NULL,
|
||||
CTL_PAGE_FLAG_DISK_ONLY, NULL, NULL},
|
||||
{SMS_RIGID_DISK_PAGE, 0, sizeof(struct scsi_rigid_disk_page), NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user