projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed a lot of non-const pointers to const.
[pspp-builds.git]
/
src
/
data
/
category.c
diff --git
a/src/data/category.c
b/src/data/category.c
index d320cea2a108f955475b413fd0cabbe54173691a..9e5c6b0c110ac0514a095abb41e760c3d68411c6 100644
(file)
--- a/
src/data/category.c
+++ b/
src/data/category.c
@@
-48,7
+48,7
@@
#define N_INITIAL_CATEGORIES 1
void
#define N_INITIAL_CATEGORIES 1
void
-cat_stored_values_create (struct variable *v)
+cat_stored_values_create (
const
struct variable *v)
{
if (!var_has_obs_vals (v))
{
{
if (!var_has_obs_vals (v))
{
@@
-97,7
+97,7
@@
cat_value_find (const struct variable *v, const union value *val)
Add the new value unless it is already present.
*/
void
Add the new value unless it is already present.
*/
void
-cat_value_update (struct variable *v, const union value *val)
+cat_value_update (
const
struct variable *v, const union value *val)
{
if (var_is_alpha (v))
{
{
if (var_is_alpha (v))
{