Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Thomas Jahns
yaxt
Commits
d65a73f0
Commit
d65a73f0
authored
Apr 23, 2020
by
Thomas Jahns
🤸
Browse files
Add const declaration.
parent
e250b274
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test_idxsection.c
View file @
d65a73f0
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment