Add header guard to uart.h

This commit is contained in:
Arti Zirk 2016-09-26 16:39:07 +03:00
parent 7d422c5494
commit 713cc80417

View File

@ -1,3 +1,6 @@
#ifndef _UART_H_
#define _UART_H_
int uart0_putchar(char c, FILE *stream);
int uart0_getchar(FILE *stream);
@ -10,3 +13,5 @@ void uart3_init(void);
FILE uart0_io = FDEV_SETUP_STREAM(uart0_putchar, uart0_getchar, _FDEV_SETUP_RW);
FILE uart3_out = FDEV_SETUP_STREAM(uart3_putchar, NULL, _FDEV_SETUP_WRITE);
#endif /* _UART_H_ */