From 778ef77d61d162d87deffd552f27d852b6dfb3f3 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Mon, 17 Oct 2011 13:46:53 +0200 Subject: Avoid heaps of compiler warnings due to plugin features registration. --- src/libstrongswan/plugins/plugin_feature.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/libstrongswan/plugins/plugin_feature.h b/src/libstrongswan/plugins/plugin_feature.h index 9d03a1df5..b1500feba 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 */ -- cgit v1.2.3