diff options
author | Markus Minichmayr <markus@tapkey.com> | 2022-02-25 18:41:04 +0100 |
---|---|---|
committer | Markus Minichmayr <markus@tapkey.com> | 2022-02-25 20:50:00 +0100 |
commit | e5f8690a34a8effbcc034f0a3009e30f9a47509e (patch) | |
tree | 01367d254aec9ac169f939a1012bd4230c65d363 | |
parent | 37825bc6013e0344cabfa6679f8fc91a2c1a52f0 (diff) | |
download | libical-git-e5f8690a34a8effbcc034f0a3009e30f9a47509e.tar.gz |
regression-utils - fix inconsistent function signatures of _ok() and related.
-rw-r--r-- | src/test/regression-utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/regression-utils.c b/src/test/regression-utils.c index 8daa1797..35a6241f 100644 --- a/src/test/regression-utils.c +++ b/src/test/regression-utils.c @@ -95,7 +95,7 @@ void die_on_errors_set(int val) die_on_errors = val; } -void _ok(const char *test_name, int success, char *file, int linenum, const char *test) +void _ok(const char *test_name, int success, const char *file, int linenum, const char *test) { testnumber++; @@ -116,7 +116,7 @@ void _ok(const char *test_name, int success, char *file, int linenum, const char } } -void _is(const char *test_name, const char *str1, const char *str2, char *file, int linenum) +void _is(const char *test_name, const char *str1, const char *str2, const char *file, int linenum) { int diff; @@ -137,7 +137,7 @@ void _is(const char *test_name, const char *str1, const char *str2, char *file, } } -void _int_is(char *test_name, int i1, int i2, char *file, int linenum) +void _int_is(const char *test_name, int i1, int i2, const char *file, int linenum) { _ok(test_name, (i1 == i2), file, linenum, ""); |