diff options
author | Dan Handley <dan.handley@arm.com> | 2014-05-14 12:38:32 +0100 |
---|---|---|
committer | Andrew Thoelke <andrew.thoelke@arm.com> | 2014-05-23 12:15:54 +0100 |
commit | c6bc071020baebc660fc94390b50bc240e34c0a3 (patch) | |
tree | ec62f78721bb7f491e7b7cf19f3d6a39b97ad65f /include/bl32 | |
parent | f53d0fce3f8e13529d823c22ce61dc0e0fdf0ffd (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/bl32')
-rw-r--r-- | include/bl32/bl32.h | 6 | ||||
-rw-r--r-- | include/bl32/payloads/tsp.h | 66 |
2 files changed, 36 insertions, 36 deletions
diff --git a/include/bl32/bl32.h b/include/bl32/bl32.h index 32394876..ede7c48e 100644 --- a/include/bl32/bl32.h +++ b/include/bl32/bl32.h @@ -41,8 +41,8 @@ struct meminfo; /****************************************** * Function prototypes *****************************************/ -extern void bl32_platform_setup(void); -extern struct meminfo *bl32_plat_sec_mem_layout(void); -extern uint64_t bl32_main(void); +void bl32_platform_setup(void); +struct meminfo *bl32_plat_sec_mem_layout(void); +uint64_t bl32_main(void); #endif /* __BL32_H__ */ diff --git a/include/bl32/payloads/tsp.h b/include/bl32/payloads/tsp.h index 9239ba4a..237ad483 100644 --- a/include/bl32/payloads/tsp.h +++ b/include/bl32/payloads/tsp.h @@ -157,43 +157,43 @@ typedef struct tsp_args { */ CASSERT(TSP_ARGS_SIZE == sizeof(tsp_args_t), assert_sp_args_size_mismatch); -extern void tsp_get_magic(uint64_t args[4]); - -extern tsp_args_t *tsp_cpu_resume_main(uint64_t arg0, - uint64_t arg1, - uint64_t arg2, - uint64_t arg3, - uint64_t arg4, - uint64_t arg5, - uint64_t arg6, - uint64_t arg7); -extern tsp_args_t *tsp_cpu_suspend_main(uint64_t arg0, - uint64_t arg1, - uint64_t arg2, - uint64_t arg3, - uint64_t arg4, - uint64_t arg5, - uint64_t arg6, - uint64_t arg7); -extern tsp_args_t *tsp_cpu_on_main(void); -extern tsp_args_t *tsp_cpu_off_main(uint64_t arg0, - uint64_t arg1, - uint64_t arg2, - uint64_t arg3, - uint64_t arg4, - uint64_t arg5, - uint64_t arg6, - uint64_t arg7); +void tsp_get_magic(uint64_t args[4]); + +tsp_args_t *tsp_cpu_resume_main(uint64_t arg0, + uint64_t arg1, + uint64_t arg2, + uint64_t arg3, + uint64_t arg4, + uint64_t arg5, + uint64_t arg6, + uint64_t arg7); +tsp_args_t *tsp_cpu_suspend_main(uint64_t arg0, + uint64_t arg1, + uint64_t arg2, + uint64_t arg3, + uint64_t arg4, + uint64_t arg5, + uint64_t arg6, + uint64_t arg7); +tsp_args_t *tsp_cpu_on_main(void); +tsp_args_t *tsp_cpu_off_main(uint64_t arg0, + uint64_t arg1, + uint64_t arg2, + uint64_t arg3, + uint64_t arg4, + uint64_t arg5, + uint64_t arg6, + uint64_t arg7); /* Generic Timer functions */ -extern void tsp_generic_timer_start(void); -extern void tsp_generic_timer_handler(void); -extern void tsp_generic_timer_stop(void); -extern void tsp_generic_timer_save(void); -extern void tsp_generic_timer_restore(void); +void tsp_generic_timer_start(void); +void tsp_generic_timer_handler(void); +void tsp_generic_timer_stop(void); +void tsp_generic_timer_save(void); +void tsp_generic_timer_restore(void); /* FIQ management functions */ -extern void tsp_update_sync_fiq_stats(uint32_t type, uint64_t elr_el3); +void tsp_update_sync_fiq_stats(uint32_t type, uint64_t elr_el3); /* Data structure to keep track of TSP statistics */ extern spinlock_t console_lock; |