From: Tobias Brunner Date: Mon, 17 Oct 2011 11:46:53 +0000 (+0200) Subject: Avoid heaps of compiler warnings due to plugin features registration. X-Git-Tag: 4.6.0~114 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=778ef77d61d162d87deffd552f27d852b6dfb3f3;p=thirdparty%2Fstrongswan.git Avoid heaps of compiler warnings due to plugin features registration. --- diff --git a/src/libstrongswan/plugins/plugin_feature.h b/src/libstrongswan/plugins/plugin_feature.h index 9d03a1df59..b1500febad 100644 --- a/src/libstrongswan/plugins/plugin_feature.h +++ b/src/libstrongswan/plugins/plugin_feature.h @@ -185,10 +185,10 @@ struct plugin_feature_t { /** FEATURE_REGISTER */ struct { - /** feature specific function to register for this type */ - void *f; /** final flag to pass for builder_function_t */ bool final; + /** feature specific function to register for this type */ + void *f; } reg; /** FEATURE_CALLBACK */