diff options
author | Roberto Vargas <roberto.vargas@arm.com> | 2018-02-12 12:36:17 +0000 |
---|---|---|
committer | Roberto Vargas <roberto.vargas@arm.com> | 2018-02-28 17:18:46 +0000 |
commit | 7fabe1a89903cab4919304faa085ee6eaaec5c9d (patch) | |
tree | 140db3931433edf3ac1724eef7db426614afa42a /bl2 | |
parent | 9fb8af33c40f21becde99fc15db73b1f4d82059c (diff) | |
download | trusted-firmware-a-7fabe1a89903cab4919304faa085ee6eaaec5c9d.tar.gz |
Fix MISRA rule 8.4 in common code
Rule 8.4: A compatible declaration shall be visible when
an object or function with external linkage is defined.
Change-Id: I26e042cb251a6f9590afa1340fdac73e42f23979
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
Diffstat (limited to 'bl2')
-rw-r--r-- | bl2/aarch64/bl2_arch_setup.c | 3 | ||||
-rw-r--r-- | bl2/bl2_main.c | 3 | ||||
-rw-r--r-- | bl2/bl2_private.h | 4 |
3 files changed, 6 insertions, 4 deletions
diff --git a/bl2/aarch64/bl2_arch_setup.c b/bl2/aarch64/bl2_arch_setup.c index 038a0758ec..54052f7d10 100644 --- a/bl2/aarch64/bl2_arch_setup.c +++ b/bl2/aarch64/bl2_arch_setup.c @@ -1,11 +1,12 @@ /* - * Copyright (c) 2013-2014, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <arch_helpers.h> +#include "../bl2_private.h" /******************************************************************************* * Place holder function to perform any S-EL1 specific architectural setup. At diff --git a/bl2/bl2_main.c b/bl2/bl2_main.c index c85db2d4b5..41d1745575 100644 --- a/bl2/bl2_main.c +++ b/bl2/bl2_main.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2017, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -7,6 +7,7 @@ #include <arch_helpers.h> #include <auth_mod.h> #include <bl1.h> +#include <bl2.h> #include <bl_common.h> #include <console.h> #include <debug.h> diff --git a/bl2/bl2_private.h b/bl2/bl2_private.h index ea2f33aaed..50295d674f 100644 --- a/bl2/bl2_private.h +++ b/bl2/bl2_private.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2017, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -17,6 +17,6 @@ struct entry_point_info; *****************************************/ void bl2_arch_setup(void); struct entry_point_info *bl2_load_images(void); -void bl2_run_next_image(const entry_point_info_t *bl_ep_info); +void bl2_run_next_image(const struct entry_point_info *bl_ep_info); #endif /* __BL2_PRIVATE_H__ */ |