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
/
sys-file-reader.c
diff --git
a/src/data/sys-file-reader.c
b/src/data/sys-file-reader.c
index 20713a5667a5048fbf533e64e64d79da83db7b6c..246448a1f2a4bd7a733c4b4e856ee95c14859d6f 100644
(file)
--- a/
src/data/sys-file-reader.c
+++ b/
src/data/sys-file-reader.c
@@
-215,7
+215,7
@@
struct name_pair
};
static int
};
static int
-pair_sn_compare(const void *_p1, const void *_p2, void *aux UNUSED)
+pair_sn_compare(const void *_p1, const void *_p2,
const
void *aux UNUSED)
{
int i;
{
int i;
@@
-246,7
+246,7
@@
pair_sn_compare(const void *_p1, const void *_p2, void *aux UNUSED)
}
static unsigned int
}
static unsigned int
-pair_sn_hash(const void *_p, void *aux UNUSED)
+pair_sn_hash(const void *_p,
const
void *aux UNUSED)
{
int i;
const struct name_pair *p = _p;
{
int i;
const struct name_pair *p = _p;
@@
-264,7
+264,7
@@
pair_sn_hash(const void *_p, void *aux UNUSED)
}
static void
}
static void
-pair_sn_free(void *p, void *aux UNUSED)
+pair_sn_free(void *p,
const
void *aux UNUSED)
{
free(p);
}
{
free(p);
}