summaryrefslogtreecommitdiff
path: root/include/bl2
diff options
context:
space:
mode:
authorDan Handley <dan.handley@arm.com>2014-05-14 12:38:32 +0100
committerAndrew Thoelke <andrew.thoelke@arm.com>2014-05-23 12:15:54 +0100
commitc6bc071020baebc660fc94390b50bc240e34c0a3 (patch)
treeec62f78721bb7f491e7b7cf19f3d6a39b97ad65f /include/bl2
parentf53d0fce3f8e13529d823c22ce61dc0e0fdf0ffd (diff)
Remove extern keyword from function declarations
Function declarations implicitly have external linkage so do not need the extern keyword. Change-Id: Ia0549786796d8bf5956487e8996450a0b3d79f32
Diffstat (limited to 'include/bl2')
-rw-r--r--include/bl2/bl2.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/include/bl2/bl2.h b/include/bl2/bl2.h
index 4cd3cee4..b028faa0 100644
--- a/include/bl2/bl2.h
+++ b/include/bl2/bl2.h
@@ -40,34 +40,32 @@ extern unsigned long long bl2_entrypoint;
* Forward declarations
*****************************************/
struct meminfo;
-struct bl31_args;
+struct bl31_params;
+struct entry_point_info;
/******************************************
* Function prototypes
*****************************************/
-extern void bl2_platform_setup(void);
-extern struct meminfo *bl2_plat_sec_mem_layout(void);
+void bl2_platform_setup(void);
+struct meminfo *bl2_plat_sec_mem_layout(void);
/*******************************************************************************
* This function returns a pointer to the shared memory that the platform has
* kept aside to pass trusted firmware related information that BL3-1
* could need
******************************************************************************/
-extern struct bl31_params *bl2_plat_get_bl31_params(void);
-
+struct bl31_params *bl2_plat_get_bl31_params(void);
/*******************************************************************************
* This function returns a pointer to the shared memory that the platform
* has kept to point to entry point information of BL31 to BL2
******************************************************************************/
-extern struct entry_point_info *bl2_plat_get_bl31_ep_info(void);
-
+struct entry_point_info *bl2_plat_get_bl31_ep_info(void);
/************************************************************************
* This function flushes to main memory all the params that are
* passed to BL3-1
**************************************************************************/
-extern void bl2_plat_flush_bl31_params(void);
-
+void bl2_plat_flush_bl31_params(void);
#endif /* __BL2_H__ */