Encapsulated lexer and updated calling functions accordingly.
[pspp] / src / math / sort.h
index 267384b29c2c71a88eafa9e5af02e6706bbb3af5..7d945622959a62e74f8e9ce995ef88fa13d4d77e 100644 (file)
@@ -60,8 +60,11 @@ void sort_destroy_criteria (struct sort_criteria *);
 struct casefile *sort_execute (struct casereader *,
                                const struct sort_criteria *);
 
-int sort_active_file_in_place (const struct sort_criteria *);
+struct dataset ;
+bool sort_active_file_in_place (struct dataset *ds, 
+                               const struct sort_criteria *);
 
-struct casefile *sort_active_file_to_casefile (const struct sort_criteria *);
+struct casefile *sort_active_file_to_casefile (struct dataset *ds, 
+                                              const struct sort_criteria *);
 
 #endif /* !sort_h */