diff options
author | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2015-06-10 11:34:45 +0300 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2015-07-06 12:04:07 +0300 |
commit | 3ac7ae201758fe99627fdb2adf783be4063a9b1f (patch) | |
tree | 7594933ab7aba88980c4a45f8e97f6ca20b5b3c9 | |
parent | 56d8b365f5944bf78a427ac65c5a0d0311e0da5e (diff) |
lowlevel-blt-bench: make test_entry::testname const
We assign string literals to it, so it better be const.
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Ben Avison <bavison@riscosopen.org>
-rw-r--r-- | test/lowlevel-blt-bench.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/lowlevel-blt-bench.c b/test/lowlevel-blt-bench.c index 993f5db..866dedd 100644 --- a/test/lowlevel-blt-bench.c +++ b/test/lowlevel-blt-bench.c @@ -589,13 +589,13 @@ bench_composite (const char *testname, struct test_entry { - char *testname; - int src_fmt; - int src_flags; - int op; - int mask_fmt; - int mask_flags; - int dst_fmt; + const char *testname; + int src_fmt; + int src_flags; + int op; + int mask_fmt; + int mask_flags; + int dst_fmt; }; typedef struct test_entry test_entry_t; |