projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: constify format strings in tap.h
[babeltrace.git]
/
tests
/
utils
/
tap
/
tap.c
diff --git
a/tests/utils/tap/tap.c
b/tests/utils/tap/tap.c
index 5699f387015b9610abda9ec75bd170929492bf97..a5c3a8109c8e279542d73f083cb5802a214c5bab 100644
(file)
--- a/
tests/utils/tap/tap.c
+++ b/
tests/utils/tap/tap.c
@@
-82,8
+82,8
@@
void funlockfile(FILE * filehandle) {
* test_comment -- a comment to print afterwards, may be NULL
*/
unsigned int
* test_comment -- a comment to print afterwards, may be NULL
*/
unsigned int
-_gen_result(int ok, const char *func, char *file, unsigned int line,
- char *test_name, ...)
+_gen_result(int ok, const char *func, c
onst c
har *file, unsigned int line,
+ c
onst c
har *test_name, ...)
{
va_list ap;
char *local_test_name = NULL;
{
va_list ap;
char *local_test_name = NULL;
@@
-228,7
+228,7
@@
plan_no_plan(void)
* Note that the plan is to skip all tests
*/
int
* Note that the plan is to skip all tests
*/
int
-plan_skip_all(char *reason)
+plan_skip_all(c
onst c
har *reason)
{
LOCK;
{
LOCK;
@@
-284,7
+284,7
@@
plan_tests(unsigned int tests)
}
unsigned int
}
unsigned int
-diag(char *fmt, ...)
+diag(c
onst c
har *fmt, ...)
{
va_list ap;
{
va_list ap;
@@
-330,7
+330,7
@@
_expected_tests(unsigned int tests)
}
int
}
int
-skip(unsigned int n, char *fmt, ...)
+skip(unsigned int n, c
onst c
har *fmt, ...)
{
va_list ap;
char *skip_msg = NULL;
{
va_list ap;
char *skip_msg = NULL;
@@
-358,7
+358,7
@@
skip(unsigned int n, char *fmt, ...)
}
void
}
void
-todo_start(char *fmt, ...)
+todo_start(c
onst c
har *fmt, ...)
{
va_list ap;
{
va_list ap;
This page took
0.023349 seconds
and
4
git commands to generate.