commit | 672ac09ea04d998dfddfdef3070a8af8d480182b | [log] [tgz] |
---|---|---|
author | David Gibson <david@gibson.dropbear.id.au> | Mon Mar 06 12:06:15 2017 +1100 |
committer | David Gibson <david@gibson.dropbear.id.au> | Mon Mar 06 12:06:15 2017 +1100 |
tree | 2df2c341562c7fedc27b7b2d44c97e77bd90593a | |
parent | 49300f2ade6a6ad9b19957b1fce41fccfe1246a3 [diff] |
Clean up gcc attributes We have a number of explicit __GNUC__ conditionals to tell if we want to use some gcc extensions for extra warnings. This cleans this up to use a single conditional, defining convenience macros for those attributes. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>