From 86060d6b17fa3848e60aaff9be7768a761c7c428 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 18 Jul 2013 16:12:30 +0200 Subject: Add appropriate const qualifiers --- p11-kit/conf.c | 2 +- trust/extract-openssl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/p11-kit/conf.c b/p11-kit/conf.c index 0ecb40a..2a6dc5c 100644 --- a/p11-kit/conf.c +++ b/p11-kit/conf.c @@ -287,7 +287,7 @@ static char * calc_name_from_filename (const char *fname) { /* We eventually want to settle on .module */ - static const char const *suffix = ".module"; + static const char *const suffix = ".module"; static const size_t suffix_len = 7; const char *c = fname; size_t fname_len; diff --git a/trust/extract-openssl.c b/trust/extract-openssl.c index 666f189..c263ba1 100644 --- a/trust/extract-openssl.c +++ b/trust/extract-openssl.c @@ -79,7 +79,7 @@ known_usages (p11_array *oids) char *string; int i; - static const char *strings[] = { + static const char *const strings[] = { P11_OID_SERVER_AUTH_STR, P11_OID_CLIENT_AUTH_STR, P11_OID_CODE_SIGNING_STR, -- cgit v1.1