diff options
| author | Keith Packard <keithp@keithp.com> | 2019-02-04 22:24:37 -0800 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2019-02-18 13:08:23 -0800 |
| commit | c11427819ca24bb77523496309b5b6f699d126c5 (patch) | |
| tree | 29cab045cde088881d971b175708245b17d09ce6 /src/lpc | |
| parent | 119a829e58aff5dd7801fe7ef8cae886bf31fec1 (diff) | |
altos: Mark local functions 'static'
Working towards supporting -Wmissing-prototypes
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lpc')
| -rw-r--r-- | src/lpc/ao_interrupt.c | 4 | ||||
| -rw-r--r-- | src/lpc/ao_usb_lpc.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lpc/ao_interrupt.c b/src/lpc/ao_interrupt.c index 8d71f43f..77be7fab 100644 --- a/src/lpc/ao_interrupt.c +++ b/src/lpc/ao_interrupt.c @@ -40,12 +40,12 @@ extern char __interrupt_rom__, __interrupt_start__, __interrupt_end__; /* Interrupt functions */ -void lpc_halt_isr(void) +static void lpc_halt_isr(void) { ao_panic(AO_PANIC_CRASH); } -void lpc_ignore_isr(void) +static void lpc_ignore_isr(void) { } diff --git a/src/lpc/ao_usb_lpc.c b/src/lpc/ao_usb_lpc.c index 594114b6..d6763c29 100644 --- a/src/lpc/ao_usb_lpc.c +++ b/src/lpc/ao_usb_lpc.c @@ -131,7 +131,7 @@ static inline uint32_t set_toggle(uint32_t current_value, * Set current device address and mark the * interface as active */ -void +static void ao_usb_set_address(uint8_t address) { debug("ao_usb_set_address %02x\n", address); @@ -813,7 +813,7 @@ _ao_usb_out_recv(void) ao_usb_set_epn_out(AO_USB_OUT_EP, ao_usb_out_rx_buffer[1-ao_usb_out_rx_cur], AO_USB_OUT_SIZE); } -int +static int _ao_usb_pollchar(void) { uint8_t c; |
