include/ttyutils.h: add include guards

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
This commit is contained in:
Dave Reisner 2012-03-17 23:36:31 -04:00 committed by Karel Zak
parent eda399b995
commit 0b6198ec07
1 changed files with 4 additions and 0 deletions

View 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 */