]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
include/ttyutils.h: add include guards
authorDave Reisner <d@falconindy.com>
Sun, 18 Mar 2012 03:36:31 +0000 (23:36 -0400)
committerKarel Zak <kzak@redhat.com>
Tue, 20 Mar 2012 08:53:48 +0000 (09:53 +0100)
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
include/ttyutils.h

index 949b72a7b28120175d4d1318598250d7147373ff..f638aa0d9fa46b5575ae32bd0f166b2721ffcc2f 100644 (file)
@@ -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 */