Build and run regression and unit tests as C++ programs
[urcu.git] / tests / regression / rcutorture.h
index 0c5c8956e982245b5b1c4406f9455c2d72411b1d..639fcfc19cb2bfe33f765629dd233af04e35267d 100644 (file)
@@ -290,7 +290,7 @@ struct rcu_stress {
        int mbtest;
 };
 
-struct rcu_stress rcu_stress_array[RCU_STRESS_PIPE_LEN] = { { 0 } };
+struct rcu_stress rcu_stress_array[RCU_STRESS_PIPE_LEN] = { { 0, 0 } };
 struct rcu_stress *rcu_stress_current;
 int rcu_stress_idx = 0;
 
@@ -531,6 +531,9 @@ int stresstest(int nreaders)
  * Mainprogram.
  */
 
+static
+void usage(char *argv[]) __attribute__((noreturn));
+
 static
 void usage(char *argv[])
 {
This page took 0.022322 seconds and 4 git commands to generate.