diff mbox

crypto: fix cunit test extern array declaration

Message ID 1417080043-13522-1-git-send-email-alexandru.badicioiu@linaro.org
State New
Headers show

Commit Message

Alexandru Badicioiu Nov. 27, 2014, 9:20 a.m. UTC
From: Alexandru Badicioiu <alexandru.badicioiu@linaro.org>

Signed-off-by: Alexandru Badicioiu <alexandru.badicioiu@linaro.org>
---
 test/validation/crypto/odp_crypto_test_async_inp.h |    2 +-
 test/validation/crypto/odp_crypto_test_sync_inp.h  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/test/validation/crypto/odp_crypto_test_async_inp.h b/test/validation/crypto/odp_crypto_test_async_inp.h
index ffad83c..859b63d 100644
--- a/test/validation/crypto/odp_crypto_test_async_inp.h
+++ b/test/validation/crypto/odp_crypto_test_async_inp.h
@@ -12,6 +12,6 @@ 
 #define ODP_CRYPTO_ASYNC_INP	"odp_crypto_async_inp"
 
 /* Suite test array */
-CU_TestInfo test_array_async[1];
+extern CU_TestInfo test_array_async[];
 
 #endif
diff --git a/test/validation/crypto/odp_crypto_test_sync_inp.h b/test/validation/crypto/odp_crypto_test_sync_inp.h
index 6a8511d..50cb88d 100644
--- a/test/validation/crypto/odp_crypto_test_sync_inp.h
+++ b/test/validation/crypto/odp_crypto_test_sync_inp.h
@@ -12,6 +12,6 @@ 
 #define ODP_CRYPTO_SYNC_INP    "odp_crypto_sync_inp"
 
 /* Suite test array */
-CU_TestInfo test_array_sync[1];
+extern CU_TestInfo test_array_sync[];
 
 #endif