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/stmf0/ao_exti_stm.c | |
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/stmf0/ao_exti_stm.c')
-rw-r--r-- | src/stmf0/ao_exti_stm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stmf0/ao_exti_stm.c b/src/stmf0/ao_exti_stm.c index 910a36f2..77c59d05 100644 --- a/src/stmf0/ao_exti_stm.c +++ b/src/stmf0/ao_exti_stm.c @@ -123,7 +123,7 @@ ao_exti_set_mode(struct stm_gpio *gpio, uint8_t pin, uint8_t mode) { } void -ao_exti_set_callback(struct stm_gpio *gpio, uint8_t pin, void (*callback)()) { +ao_exti_set_callback(struct stm_gpio *gpio, uint8_t pin, void (*callback)(void)) { (void) gpio; ao_exti_callback[pin] = callback; } |