[PATCH 3/5] include/ttyutils.h: add include guards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Dave Reisner <dreisner@xxxxxxxxxxxxx>
---
 include/ttyutils.h |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/ttyutils.h b/include/ttyutils.h
index 949b72a..f638aa0 100644
--- a/include/ttyutils.h
+++ b/include/ttyutils.h
@@ -1,3 +1,5 @@
+#ifndef UTIL_LINUX_TTYUTILS_H
+#define UTIL_LINUX_TTYUTILS_H
 
 #include <termios.h>
 
@@ -71,3 +73,5 @@ static inline void reset_virtual_console(struct termios *tp, int flags)
 	tp->c_cc[VLNEXT]   = CLNEXT;
 	tp->c_cc[VEOL2]    = _POSIX_VDISABLE;
 }
+
+#endif /* UTIL_LINUX_TTYUTILS_H */
-- 
1.7.9.4

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux