aboutsummaryrefslogtreecommitdiff
path: root/include/drivers/auth/auth_mod.h
diff options
context:
space:
mode:
authorRoberto Vargas <roberto.vargas@arm.com>2018-02-12 12:36:17 +0000
committerRoberto Vargas <roberto.vargas@arm.com>2018-04-13 14:01:56 +0100
commit3b94189a921c0ea2a410c7730dc9636d95f5aa86 (patch)
treecf523a94149f4c879757838a47fa1842449add8b /include/drivers/auth/auth_mod.h
parent735181b634c951d4fa6a8b454847dac53f85d5b5 (diff)
downloadtrusted-firmware-a-3b94189a921c0ea2a410c7730dc9636d95f5aa86.tar.gz
Fix MISRA rule 8.4 Part 4
Rule 8.4: A compatible declaration shall be visible when an object or function with external linkage is defined Fixed for: make DEBUG=1 PLAT=fvp SPD=tspd TRUSTED_BOARD_BOOT=1 \ GENERATE_COT=1 ARM_ROTPK_LOCATION=devel_rsa \ ROT_KEY=arm_rotprivk_rsa.pem MBEDTLS_DIR=mbedtls all Change-Id: Ie4cd6011b3e4fdcdd94ccb97a7e941f3b5b7aeb8 Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
Diffstat (limited to 'include/drivers/auth/auth_mod.h')
-rw-r--r--include/drivers/auth/auth_mod.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drivers/auth/auth_mod.h b/include/drivers/auth/auth_mod.h
index 74fc15fc16..bb3b8f9022 100644
--- a/include/drivers/auth/auth_mod.h
+++ b/include/drivers/auth/auth_mod.h
@@ -44,6 +44,9 @@ int auth_mod_verify_img(unsigned int img_id,
(const auth_img_desc_t *const)&_cot[0]; \
unsigned int auth_img_flags[MAX_NUMBER_IDS]
+extern const auth_img_desc_t *const cot_desc_ptr;
+extern unsigned int auth_img_flags[MAX_NUMBER_IDS];
+
#endif /* TRUSTED_BOARD_BOOT */
#endif /* __AUTH_MOD_H__ */