svn commit: r288708 - stable/10/sys/dev/isp
Alexander Motin
mav at FreeBSD.org
Mon Oct 5 08:14:28 UTC 2015
Author: mav
Date: Mon Oct 5 08:14:27 2015
New Revision: 288708
URL: https://svnweb.freebsd.org/changeset/base/288708
Log:
MFC r273051 (by imp):
Use the C99 flexible array construct to denote a variable amount of
data rather than the old-school [1] construct. We have required c99
compilers for some time.
Modified:
stable/10/sys/dev/isp/ispmbox.h
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/isp/ispmbox.h
==============================================================================
--- stable/10/sys/dev/isp/ispmbox.h Mon Oct 5 08:13:29 2015 (r288707)
+++ stable/10/sys/dev/isp/ispmbox.h Mon Oct 5 08:14:27 2015 (r288708)
@@ -1442,7 +1442,7 @@ typedef struct {
uint16_t snscb_addr[4]; /* response buffer address */
uint16_t snscb_sblen; /* subcommand buffer length (words) */
uint16_t snscb_reserved1;
- uint16_t snscb_data[1]; /* variable data */
+ uint16_t snscb_data[]; /* variable data */
} sns_screq_t; /* Subcommand Request Structure */
typedef struct {
@@ -1503,7 +1503,7 @@ typedef struct {
uint8_t snscb_port_type;
uint8_t snscb_port_id[3];
uint8_t snscb_portname[8];
- uint16_t snscb_data[1]; /* variable data */
+ uint16_t snscb_data[]; /* variable data */
} sns_scrsp_t; /* Subcommand Response Structure */
typedef struct {
More information about the svn-src-stable-10
mailing list