X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fvalue.h;h=9103c6b317fe8f1939767a78236a83f94924c148;hb=b734a970ee8bfda57e72398d4f424fb16f2ea80a;hp=cb66cb0836c7b00eeb7e992199650c192b15f780;hpb=a9acce47d67e0ab35ce1690e4f1b1ac0121c2d78;p=pspp diff --git a/src/data/value.h b/src/data/value.h index cb66cb0836..9103c6b317 100644 --- a/src/data/value.h +++ b/src/data/value.h @@ -19,6 +19,7 @@ #include #include +#include #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);