Commit d65a73f0 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Add const declaration.

parent e250b274
......@@ -63,8 +63,8 @@
static void
do_tests(Xt_idxlist idxlist, Xt_int * ref_indices, int num_indices,
struct Xt_stripe * ref_stripes, int ref_num_stripes);
do_tests(Xt_idxlist idxlist, const Xt_int *ref_indices, int num_indices,
const struct Xt_stripe *ref_stripes, int ref_num_stripes);
int main(void) {
......@@ -933,8 +933,8 @@ int main(void) {
}
static void
do_tests(Xt_idxlist idxlist, Xt_int * ref_indices, int num_indices,
struct Xt_stripe * ref_stripes, int ref_num_stripes) {
do_tests(Xt_idxlist idxlist, const Xt_int *ref_indices, int num_indices,
const struct Xt_stripe *ref_stripes, int ref_num_stripes) {
check_idxlist(idxlist, ref_indices, num_indices);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment