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/lpc/ao_exti_lpc.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/lpc/ao_exti_lpc.c')
-rw-r--r-- | src/lpc/ao_exti_lpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpc/ao_exti_lpc.c b/src/lpc/ao_exti_lpc.c index 193f4547..12016072 100644 --- a/src/lpc/ao_exti_lpc.c +++ b/src/lpc/ao_exti_lpc.c @@ -140,7 +140,7 @@ ao_exti_set_mode(uint8_t port, uint8_t pin, uint8_t mode) } void -ao_exti_set_callback(uint8_t port, uint8_t pin, void (*callback)()) { +ao_exti_set_callback(uint8_t port, uint8_t pin, void (*callback)(void)) { uint8_t id = pin_id(port,pin); uint8_t pint = ao_pint_map[id]; |