Eliminated global variable current_dataset.
[pspp-builds.git] / src / language / tests / moments-test.c
index 05f0981bbe8354b017a9e4e22c66f0e33d4d8edd..533b558ff003409d43bd0557f6cf852ec7aef8c1 100644 (file)
@@ -26,6 +26,7 @@
 #include <math.h>
 #include <stdlib.h>
 #include "xalloc.h"
+#include <libpspp/compiler.h>
 
 #define _(msgid) gettext (msgid)
 
@@ -69,7 +70,7 @@ read_values (double **values, double **weights, size_t *cnt)
 }
 
 int
-cmd_debug_moments (void
+cmd_debug_moments (struct dataset *ds UNUSED
 {
   int retval = CMD_FAILURE;
   double *values = NULL;