Merge branch 'master' into rewrite-sheet
[pspp-builds.git] / src / data / value.h
index cb66cb0836c7b00eeb7e992199650c192b15f780..9103c6b317fe8f1939767a78236a83f94924c148 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <libpspp/misc.h>
 #include <stdbool.h>
+#include <stddef.h>
 #include "minmax.h"
 
 /* "Short" strings, which are generally those no more than 8
@@ -38,8 +39,8 @@ union value
 union value *value_dup (const union value *, int width);
 union value *value_create (int width);
 
-int compare_values (const union value *, const union value *, int width);
-unsigned hash_value (const union value  *, int width);
+int compare_values (const void *, const void *, const void *var);
+unsigned hash_value (const void *, const void *var);
 
 static inline size_t value_cnt_from_width (int width);
 void value_copy (union value *, const union value *, int width);