From b0c07ee0f5f5bfb53ce693d2cb3d6739520d9d36 Mon Sep 17 00:00:00 2001 From: jsing Date: Sat, 11 Mar 2023 14:02:26 +0000 Subject: [PATCH] Mark test table as static const. --- regress/lib/libcrypto/bn/bn_shift.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regress/lib/libcrypto/bn/bn_shift.c b/regress/lib/libcrypto/bn/bn_shift.c index 88d0e65cba0..5d114717714 100644 --- a/regress/lib/libcrypto/bn/bn_shift.c +++ b/regress/lib/libcrypto/bn/bn_shift.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bn_shift.c,v 1.8 2023/02/13 04:00:39 jsing Exp $ */ +/* $OpenBSD: bn_shift.c,v 1.9 2023/03/11 14:02:26 jsing Exp $ */ /* * Copyright (c) 2022 Joel Sing * @@ -512,7 +512,7 @@ struct benchmark { void (*func)(BIGNUM *); }; -struct benchmark benchmarks[] = { +static const struct benchmark benchmarks[] = { { .desc = "BN_lshift1()", .func = benchmark_bn_lshift1, -- 2.20.1