From f2422b58756ba97e3cbadc190f1ed950aa201ec7 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 7 Apr 2016 18:52:10 +0200 Subject: testprogs: Mark some tables as static const --- libavutil/sha-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavutil/sha-test.c') diff --git a/libavutil/sha-test.c b/libavutil/sha-test.c index e43a5a53d5..5f62a98ea3 100644 --- a/libavutil/sha-test.c +++ b/libavutil/sha-test.c @@ -25,7 +25,7 @@ int main(void) int i, j, k; AVSHA ctx; unsigned char digest[32]; - const int lengths[3] = { 160, 224, 256 }; + static const int lengths[3] = { 160, 224, 256 }; for (j = 0; j < 3; j++) { printf("Testing SHA-%d\n", lengths[j]); -- cgit v1.2.3