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
/
language
/
stats
/
npar.h
diff --git
a/src/language/stats/npar.h
b/src/language/stats/npar.h
index 1cb0ef7b9b0d30efb1837a0ed8ac2a39813c199f..3907bb26716993de67e369d6aaf837b6d3dc3aaa 100644
(file)
--- a/
src/language/stats/npar.h
+++ b/
src/language/stats/npar.h
@@
-19,10
+19,11
@@
#if !npar_h
#define npar_h 1
#if !npar_h
#define npar_h 1
-typedef struct variable *var_ptr;
+typedef
const
struct variable *var_ptr;
typedef var_ptr variable_pair[2];
struct hsh_table;
typedef var_ptr variable_pair[2];
struct hsh_table;
+struct const_hsh_table;
struct casefilter ;
struct npar_test
struct casefilter ;
struct npar_test
@@
-34,13
+35,13
@@
struct npar_test
);
void (*insert_variables) (const struct npar_test *,
);
void (*insert_variables) (const struct npar_test *,
- struct hsh_table *);
+ struct
const_
hsh_table *);
};
struct one_sample_test
{
struct npar_test parent;
};
struct one_sample_test
{
struct npar_test parent;
- struct variable **vars;
+
const
struct variable **vars;
size_t n_vars;
};
size_t n_vars;
};