diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2023-09-03 22:20:31 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2023-09-03 22:20:31 +0200 |
commit | ee0a2e7e1965200ec5968ec310bee429db819dde (patch) | |
tree | 8d5632e29233d87a6a14de1165abac7e99bd879a /source/tests/move_back.test.c | |
parent | 835e1fcd131c63ee2b3b647e327b33a3bfb369e3 (diff) | |
download | kit-ee0a2e7e1965200ec5968ec310bee429db819dde.zip |
Remove const
Diffstat (limited to 'source/tests/move_back.test.c')
-rw-r--r-- | source/tests/move_back.test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/tests/move_back.test.c b/source/tests/move_back.test.c index f08d190..f3f6dc4 100644 --- a/source/tests/move_back.test.c +++ b/source/tests/move_back.test.c @@ -3,19 +3,19 @@ #define KIT_TEST_FILE move_back #include "../kit_test/test.h" -static int is_equal(int const x, int const y) { +static int is_equal(int x, int y) { return x == y; } -static int is_equal_ref(int const *const x, int const y) { +static int is_equal_ref(int *x, int y) { return *x == y; } -static int is_even(int const x, int const _) { +static int is_even(int x, int _) { return (x % 2) == 0; } -static int is_even_ref(int const *const x, int const _) { +static int is_even_ref(int *x, int _) { return (*x % 2) == 0; } |