Commit: 86e7b3e768379b975bd6d7a5f55ff96a60b4013e
Parent: dbb3af61ed707b161815f0e51952363fb82afe86
Author: Peter A. Bigot <pab@pabigot.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2021-09-17 22:55:23
Tree: 7eaf3dd8ff410548ecdcb04a49bceb611adf0569

lib: Fix variable-length array declarations in hci structures Use of zero as the size for arrays as the last element of a structure is a GNU C extension, which as of GCC 10 produces diagnostics when values in the extended array are referenced. Switch to the C99 standard idiom for flexible array members, already in use in a few other headers.

Diffstat

M lib/hci.h | 16 ++++++++- - - - - - - -

1 files changed, 8 insertions(+), 8 deletions(-)

View Full Diff | Patch