Fix error: 'static’ is not at beginning of declaration 74/80474/1
authorDariusz Michaluk <d.michaluk@samsung.com>
Mon, 18 Jul 2016 08:07:43 +0000 (10:07 +0200)
committerDariusz Michaluk <d.michaluk@samsung.com>
Mon, 18 Jul 2016 08:07:43 +0000 (10:07 +0200)
Change-Id: Ia49af914337e6fb2eef507ac8f906184092839a5

src/key.c

index b2df812..39202ae 100644 (file)
--- a/src/key.c
+++ b/src/key.c
@@ -41,7 +41,7 @@
 
 #include "internal.h"
 
-const static struct {
+static const struct {
        size_t key_bit_len_ec;
        int nid;
 } EC_NID_PAIRS[] = {
@@ -52,7 +52,7 @@ const static struct {
        {YACA_KEY_LENGTH_EC_SECP521R1,  NID_secp521r1}
 };
 
-const static size_t EC_NID_PAIRS_SIZE = sizeof(EC_NID_PAIRS) / sizeof(EC_NID_PAIRS[0]);
+static const size_t EC_NID_PAIRS_SIZE = sizeof(EC_NID_PAIRS) / sizeof(EC_NID_PAIRS[0]);
 
 struct openssl_password_data {
        bool password_requested;