include/nuttx/serial/uart_16550.h: Fix warning: 'struct file' declared inside parameter list.

This commit is contained in:
Xiang Xiao 2019-01-27 11:22:40 -06:00 committed by Gregory Nutt
parent 6884af68d8
commit bc43769f60

View File

@ -351,6 +351,7 @@ uart_datawidth_t uart_getreg(uart_addrwidth_t base, unsigned int offset);
void uart_putreg(uart_addrwidth_t base, unsigned int offset, uart_datawidth_t value);
#endif
struct file; /* Forward reference */
int uart_ioctl(struct file *filep, int cmd, unsigned long arg);
#endif /* CONFIG_16550_UART */