Fixed a bug causing pspp to crash when computed variables had no format
[pspp] / src / sort.h
index e6c9fed9df4c2046d4a9a51c25fd38b66e72e0b1..15a5b2db25d71f6f3a7d554e63426021ca52504d 100644 (file)
 #if !sort_h
 #define sort_h 1
 
+#include "vfm.h"
+
 /* SORT CASES programmatic interface. */
 int sort_cases (int separate);
-void read_sort_output (int (*write_case)(void));
+void read_sort_output (write_case_func *, write_case_data);
 
 /* Variables to sort. */
 extern struct variable **v_sort;