From: jsing Date: Sat, 11 Mar 2023 14:02:26 +0000 (+0000) Subject: Mark test table as static const. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b0c07ee0f5f5bfb53ce693d2cb3d6739520d9d36;p=openbsd Mark test table as static const. --- 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,