projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made array.h const correct, and dealt with the consequences.
[pspp-builds.git]
/
src
/
data
/
value-labels.c
diff --git
a/src/data/value-labels.c
b/src/data/value-labels.c
index f3a9d24fbeba9cbf98647642be6b7cac23374805..ad7f3b81b42424dc6a21fe5973b931fc7daeceb5 100644
(file)
--- a/
src/data/value-labels.c
+++ b/
src/data/value-labels.c
@@
-395,7
+395,7
@@
val_labs_done (struct val_labs_iterator **ip)
\f
/* Compares two value labels and returns a strcmp()-type result. */
int
\f
/* Compares two value labels and returns a strcmp()-type result. */
int
-compare_int_val_lab (const void *a_, const void *b_, void *vls_)
+compare_int_val_lab (const void *a_, const void *b_,
const
void *vls_)
{
const struct int_val_lab *a = a_;
const struct int_val_lab *b = b_;
{
const struct int_val_lab *a = a_;
const struct int_val_lab *b = b_;
@@
-409,7
+409,7
@@
compare_int_val_lab (const void *a_, const void *b_, void *vls_)
/* Hash a value label. */
unsigned
/* Hash a value label. */
unsigned
-hash_int_val_lab (const void *vl_, void *vls_)
+hash_int_val_lab (const void *vl_,
const
void *vls_)
{
const struct int_val_lab *vl = vl_;
const struct val_labs *vls = vls_;
{
const struct int_val_lab *vl = vl_;
const struct val_labs *vls = vls_;
@@
-422,7
+422,7
@@
hash_int_val_lab (const void *vl_, void *vls_)
/* Free a value label. */
void
/* Free a value label. */
void
-free_int_val_lab (void *vl_, void *vls_ UNUSED)
+free_int_val_lab (void *vl_,
const
void *vls_ UNUSED)
{
struct int_val_lab *vl = vl_;
{
struct int_val_lab *vl = vl_;
@@
-500,7
+500,7
@@
atom_to_string (const struct atom *atom)
/* A hsh_compare_func that compares A and B. */
static int
/* A hsh_compare_func that compares A and B. */
static int
-compare_atoms (const void *a_, const void *b_, void *aux UNUSED)
+compare_atoms (const void *a_, const void *b_,
const
void *aux UNUSED)
{
const struct atom *a = a_;
const struct atom *b = b_;
{
const struct atom *a = a_;
const struct atom *b = b_;
@@
-510,7
+510,7
@@
compare_atoms (const void *a_, const void *b_, void *aux UNUSED)
/* A hsh_hash_func that hashes ATOM. */
static unsigned
/* A hsh_hash_func that hashes ATOM. */
static unsigned
-hash_atom (const void *atom_, void *aux UNUSED)
+hash_atom (const void *atom_,
const
void *aux UNUSED)
{
const struct atom *atom = atom_;
{
const struct atom *atom = atom_;
@@
-519,7
+519,7
@@
hash_atom (const void *atom_, void *aux UNUSED)
/* A hsh_free_func that destroys ATOM. */
static void
/* A hsh_free_func that destroys ATOM. */
static void
-free_atom (void *atom_, void *aux UNUSED)
+free_atom (void *atom_,
const
void *aux UNUSED)
{
struct atom *atom = atom_;
{
struct atom *atom = atom_;