/* PSPP - a program for statistical analysis.
- Copyright (C) 1997-9, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997-9, 2000, 2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include <stdlib.h>
#include <data/data-out.h>
-#include <data/format.h>
#include <data/value.h>
#include <data/variable.h>
#include <libpspp/compiler.h>
const struct val_labs *vls = vls_;
if (vls->width == 0)
- return hsh_hash_double (vl->value.f);
+ return hash_double (vl->value.f, 0);
else
- return hsh_hash_bytes (vl->value.s, vls->width);
+ return hash_bytes (vl->value.s, vls->width, 0);
}
/* Free a value label. */
{
const struct atom *atom = atom_;
- return hsh_hash_string (atom->string);
+ return hash_string (atom->string, 0);
}
/* A hsh_free_func that destroys ATOM. */