Skip to content

Commit

Permalink
[sensor_tools] fix snap compilation with gcc 9+
Browse files Browse the repository at this point in the history
  • Loading branch information
rroohhh committed Jan 13, 2020
1 parent 866eae0 commit b0d72f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion software/sensor_tools/snap/snap.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ void write_dvalue(uint32_t val)
putchar(val & 0xFF);
}

inline void __attribute__((optimize("-O3,-funroll-loops"))) __attribute__ ((section(".dump_asm")))
static inline void __attribute__((optimize("-O3,-funroll-loops"))) __attribute__ ((section(".dump_asm")))
split_dline_12(uint64_t *ptr, unsigned count, uint8_t * outA, uint8_t * outB)
{
for (int c = 0; c < count; c++)
Expand Down

0 comments on commit b0d72f0

Please sign in to comment.