diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2019-11-19 17:55:43 +0100 |
---|---|---|
committer | Wojtek Kosior <kwojtus@protonmail.com> | 2019-11-19 17:55:43 +0100 |
commit | c1f247d0f23173c77a350324ddf0495ffb935860 (patch) | |
tree | 4074c12ff53bfe72620b8c5e5288440bf03b1ab5 /uart.h | |
parent | 39145f6d1b8c57abe2bc0167b2b413970d0dfdb6 (diff) | |
download | rpi-MMU-example-c1f247d0f23173c77a350324ddf0495ffb935860.tar.gz rpi-MMU-example-c1f247d0f23173c77a350324ddf0495ffb935860.zip |
guard against multiple-inclusion of headers
Diffstat (limited to 'uart.h')
-rw-r--r-- | uart.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,6 @@ +#ifndef UART_H +#define UART_H + #include <stddef.h> #include <stdint.h> #include <global.h> @@ -39,3 +42,5 @@ void uart_init(); void uart_putc(unsigned char c); unsigned char uart_getc(); void uart_puts(const char* str); + +#endif // UART_H |