Avoid heaps of compiler warnings due to plugin features registration.
authorTobias Brunner <tobias@strongswan.org>
Mon, 17 Oct 2011 11:46:53 +0000 (13:46 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 17 Oct 2011 11:51:48 +0000 (13:51 +0200)
src/libstrongswan/plugins/plugin_feature.h

index 9d03a1d..b1500fe 100644 (file)
@@ -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 */