]> git.droids-corp.org - protos/xbee-avr.git/blobdiff - cmdline.h
add missing #ifndef to protect header files
[protos/xbee-avr.git] / cmdline.h
index 3b8bf50fbd845c8a6aa9b9cf98cc70291672ae8c..58798a31a7c9cdb0b1351fcdf045ff75797c7dbc 100644 (file)
--- a/cmdline.h
+++ b/cmdline.h
@@ -20,6 +20,8 @@
  *
  */
 
+#ifndef _CMDLINE_H_
+#define _CMDLINE_H_
 
 #define CMDLINE_UART 1
 #define XBEE_UART 0
@@ -55,3 +57,5 @@ static inline uint8_t cmdline_getchar_wait(void)
 {
        return uart_recv(CMDLINE_UART);
 }
+
+#endif /* _CMDLINE_H_ */