tests: constify format strings in tap.h
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 4 Oct 2019 16:44:05 +0000 (12:44 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 7 Oct 2019 18:36:23 +0000 (14:36 -0400)
commit5eddd0b3f8956757bbc7435121bcc61362f4725f
treee9b5931ef288c9e9eb45379e1f274d75f6e47a62
parent092f9aea4bff60d227142dc9c4dd37795fa850e1
tests: constify format strings in tap.h

Format strings are typically read-only data (literal strings), and they
are not modified by the functions receiving them, so it makes no sense
for them not to be const.

This helps avoid some "passing value to function foo discards const
qualifier" kind of warnings.

Change-Id: Ibaaaf5690bed21e1d541f1b676627dfd70541219
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2130
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
tests/utils/tap/tap.c
tests/utils/tap/tap.h
This page took 0.024206 seconds and 4 git commands to generate.