diff options
author | Keith Packard <keithp@keithp.com> | 2019-02-04 22:32:24 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2019-02-18 13:08:23 -0800 |
commit | 54dd2a6e3a05b940d9daebb3d73f6876c182b3e7 (patch) | |
tree | e08a74ddff46442c72afee9098a3ca2ee38defc5 /src/stm/ao_arch_funcs.h | |
parent | 873f511173c637016b5e173813bd03c1725797bb (diff) |
altos: Add 'void' to function declarations with no params.
Support -Wstrict-prototypes
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao_arch_funcs.h')
-rw-r--r-- | src/stm/ao_arch_funcs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm/ao_arch_funcs.h b/src/stm/ao_arch_funcs.h index 41f1bf91..e55ecb74 100644 --- a/src/stm/ao_arch_funcs.h +++ b/src/stm/ao_arch_funcs.h @@ -452,7 +452,7 @@ ao_arch_irqrestore(uint32_t basepri) { } static inline void -ao_arch_memory_barrier() { +ao_arch_memory_barrier(void) { asm volatile("" ::: "memory"); } |