diff options
author | Jaeden Amero <jaeden.amero@arm.com> | 2019-06-21 13:20:22 +0100 |
---|---|---|
committer | Jaeden Amero <jaeden.amero@arm.com> | 2019-06-21 13:20:22 +0100 |
commit | e2d5b9e5cc20fc235cd966523c50b4bf97411f31 (patch) | |
tree | a150703a9a30f226bb08030c9154c883695c6ea3 /library/version_features.c | |
parent | 8d936e87fb244cf490be0e3dd4470d92beb19e10 (diff) | |
parent | c5de4623e807b7e7047ab650d62304bd85920bc5 (diff) | |
download | mbedtls-e2d5b9e5cc20fc235cd966523c50b4bf97411f31.zip mbedtls-e2d5b9e5cc20fc235cd966523c50b4bf97411f31.tar.gz mbedtls-e2d5b9e5cc20fc235cd966523c50b4bf97411f31.tar.bz2 |
Merge remote-tracking branch 'origin/pr/2690' into development
* origin/pr/2690:
Making version features easily ROM-able when using Arm C compiler.
Diffstat (limited to 'library/version_features.c')
-rw-r--r-- | library/version_features.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/version_features.c b/library/version_features.c index 5a5f9d6..bf2d487 100644 --- a/library/version_features.c +++ b/library/version_features.c @@ -31,7 +31,7 @@ #include <string.h> -static const char *features[] = { +static const char * const features[] = { #if defined(MBEDTLS_VERSION_FEATURES) #if defined(MBEDTLS_HAVE_ASM) "MBEDTLS_HAVE_ASM", @@ -792,7 +792,7 @@ static const char *features[] = { int mbedtls_version_check_feature( const char *feature ) { - const char **idx = features; + const char * const *idx = features; if( *idx == NULL ) return( -2 ); |