HomeFreeBSD

Allow c99 code to compile

Description

Allow c99 code to compile

Add the appropriate compiler flags to accept c99 code. This will help to
minimize differences with upstream, and aid porting changes. One change was
necessary in zvol.c because the DEFINE_IDA() macro does not work with the new
compiler flags.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Chunwei Chen <david.chen@osnexus.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Matthew Ahrens <mahrens@delphix.com>
Closes #5756

Details

Provenance
mahrensAuthored on Feb 8 2017, 5:27 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Feb 8 2017, 5:27 PM
Parents
rG23d70cdef108: OpenZFS 6931 - lib/libzfs: cleanup gcc warnings
Branches
Unknown
Tags
Unknown