Adopt GSL random number generators, paving the way for providing the
[pspp] / src / cartesian.c
index a2396abcf765da48037458e03e14c3f5ed2c7f70..a2e9fbff39b2519828bebeee4e40ad5c2c0496be 100644 (file)
@@ -27,7 +27,7 @@
 struct dataset
 {
   int n_data;
-  char *label;
+  const char *label;
 };
 
 
@@ -160,7 +160,7 @@ write_legend(struct chart *chart, const char *heading,
 
 /* Plot a data point */
 void
-chart_datum(struct chart *ch, int dataset, double x, double y)
+chart_datum(struct chart *ch, int dataset UNUSED, double x, double y)
 {
   const double x_pos = 
     (x - ch->x_min) * ch->abscissa_scale + ch->data_left ;