Allow c99 code to compile
commit4a5d7f82679d848bcfb95d6c841f0418b24bfeab
authorMatthew Ahrens <mahrens@delphix.com>
Wed, 8 Feb 2017 17:27:48 +0000 (8 09:27 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 8 Feb 2017 17:27:48 +0000 (8 09:27 -0800)
tree05fc645e5ec3ddbdc7f9a8b71baa4e9c406cebbc
parent23d70cdef108005ecf4d862e0af01d08dabbc9c7
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
config/Rules.am
config/kernel.m4
module/zfs/dsl_dataset.c
module/zfs/zvol.c