/* PSPP - computes sample statistics.
Copyright (C) 1997-9, 2000 Free Software Foundation, Inc.
- Written by Ben Pfaff <blp@gnu.org>.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
struct hsh_table *
hsh_create (int size, hsh_compare_func *compare, hsh_hash_func *hash,
- hsh_free_func *free, void *aux)
+ hsh_free_func *free, const void *aux)
{
return hsh_create_pool (NULL, size, compare, hash, free, aux);
}
struct hsh_table *
hsh_create_pool (struct pool *pool, int size,
hsh_compare_func *compare, hsh_hash_func *hash,
- hsh_free_func *free, void *aux)
+ hsh_free_func *free, const void *aux)
{
struct hsh_table *h;
int i;
/* A "algo_predicate_func" that returns true if DATA points
to a non-null void. */
static bool
-not_null (const void *data_, void *aux UNUSED)
+not_null (const void *data_, const void *aux UNUSED)
{
void *const *data = data_;