Replace numerous instances of xzalloc with XZALLOC
[pspp] / src / math / box-whisker.h
index f6856d1e8a125783242b9a67ff8f9b8f5150eacb..2dd5b5c609da2b0857396235da676672d32e0ec0 100644 (file)
@@ -26,7 +26,7 @@
    However, there's no reason not to use it for other purposes too.
  */
 struct tukey_hinges;
-
+struct variable;
 
 struct outlier
 {
@@ -48,16 +48,16 @@ struct box_whisker
 
   double step;
 
-  size_t casenumber_idx;
+  size_t id_idx;
   const struct variable *id_var;
 };
 
 struct box_whisker * box_whisker_create (const struct tukey_hinges *,
-                                        const struct variable *, size_t);
+                                         size_t id_idx, const struct variable *id_var);
 
 void box_whisker_whiskers (const struct box_whisker *bw, double whiskers[2]);
 
-void box_whisker_hinges (const struct box_whisker *bw, double hinges[2]);
+void box_whisker_hinges (const struct box_whisker *bw, double hinges[3]);
 
 const struct ll_list * box_whisker_outliers (const struct box_whisker *bw);