mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 03:45:50 +08:00
include/nuttx/serial/uart_16550.h: Fix warning: 'struct file' declared inside parameter list.
This commit is contained in:
@@ -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);
|
void uart_putreg(uart_addrwidth_t base, unsigned int offset, uart_datawidth_t value);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
struct file; /* Forward reference */
|
||||||
int uart_ioctl(struct file *filep, int cmd, unsigned long arg);
|
int uart_ioctl(struct file *filep, int cmd, unsigned long arg);
|
||||||
|
|
||||||
#endif /* CONFIG_16550_UART */
|
#endif /* CONFIG_16550_UART */
|
||||||
|
|||||||
Reference in New Issue
Block a user