mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-29 18:11:05 +00:00
Merge pull request #362 from jcastillo-arm/jc/inline
Fix build error with optimizations disabled (-O0)
This commit is contained in:
@@ -55,7 +55,7 @@ typedef struct arm_config {
|
||||
/* If used, arm_config must be defined and populated in the platform port */
|
||||
extern arm_config_t arm_config;
|
||||
|
||||
inline const arm_config_t *get_arm_config(void)
|
||||
static inline const arm_config_t *get_arm_config(void)
|
||||
{
|
||||
return &arm_config;
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
void soc_css_init_nic400(void);
|
||||
void soc_css_init_pcie(void);
|
||||
|
||||
inline void soc_css_security_setup(void)
|
||||
static inline void soc_css_security_setup(void)
|
||||
{
|
||||
soc_css_init_nic400();
|
||||
soc_css_init_pcie();
|
||||
|
||||
Reference in New Issue
Block a user