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:
Joel Sherrill
2025-09-03 09:15:16 -05:00
parent 312ea98ed2
commit d3a1757ac7
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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;
/*******************************************************************************