mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-02 18:37:41 +08:00
bsps/arm: Fix old style declaration
Newer C versions require that the storage-class specifier like static or _Thread_Local be the first thing in a declaration.
This commit is contained in:
@@ -50,7 +50,7 @@ static const rtems_vector_number gpio_bank_vector[] =
|
||||
AM335X_INT_GPIOINT3A };
|
||||
|
||||
/* Get the value of Base Register + Offset */
|
||||
uint32_t static inline bbb_reg(uint32_t bank, uint32_t reg)
|
||||
static inline uint32_t bbb_reg(uint32_t bank, uint32_t reg)
|
||||
{
|
||||
return (gpio_bank_addrs[bank] + reg);
|
||||
}
|
||||
|
||||
@@ -29,10 +29,10 @@ static uint32_t TMPSNS_AIReadAccess(uint32_t address);
|
||||
/*******************************************************************************
|
||||
* Variables
|
||||
******************************************************************************/
|
||||
const static float s_Ts20 = 133.6f;
|
||||
const static float s_Ts21 = -5.39f;
|
||||
const static float s_Ts21_2 = 29.0521f; /*!< It means (s_Ts21* s_Ts21) */
|
||||
const static float s_Ts22 = 0.002f;
|
||||
static const float s_Ts20 = 133.6f;
|
||||
static const float s_Ts21 = -5.39f;
|
||||
static const float s_Ts21_2 = 29.0521f; /*!< It means (s_Ts21* s_Ts21) */
|
||||
static const float s_Ts22 = 0.002f;
|
||||
static float s_Ts25c;
|
||||
|
||||
/*******************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user