Fix for bug #15450
[m6w6/libmemcached] / tests / test.h
index 39b141250ad7d76fc10caa9c190caff9a611cd37..fc10c8d5492a94bfd28f164e9d28bac39df3fc8c 100644 (file)
@@ -102,11 +102,13 @@ struct world_st {
     test_callback_error_fn on_error;
   } test;
 
-  /* This is called a the beginning of any collection run. */
-  test_callback_fn collection_startup;
+  struct {
+    /* This is called a the beginning of any collection run. */
+    test_callback_fn startup;
 
-  /* This is called a the beginning of any collection run. */
-  test_callback_fn collection_shutdown;
+    /* This is called at the end of any collection run. */
+    test_callback_fn shutdown;
+  } collection;
 
 
   /**