From: David Gibson Date: Sun, 23 Jul 2017 05:21:36 +0000 (+1000) Subject: objset: Use TCON_WRAP instead of TCON X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=2a03b7b304b185680ff0255731c671b71a7fb1b2;hp=2a03b7b304b185680ff0255731c671b71a7fb1b2 objset: Use TCON_WRAP instead of TCON TCON() uses flexible-array members which aren't allowed in the middle of structures, except as a gcc extension. TCON_WRAP() avoids this and so is more portable. This doesn't change the objset interface, only its internals. Signed-off-by: David Gibson ---