aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/termptyops.h
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2014-01-06 22:29:18 +0100
committerBoris Faure <billiob@gmail.com>2014-01-12 23:10:40 +0100
commit79034500d362d7d9198835d4874b25c3c18e4ed7 (patch)
tree27670048a3bb9f1f7ce52a8545a789573985eb3f /src/bin/termptyops.h
parentadjust years for copying. (diff)
downloadterminology-79034500d362d7d9198835d4874b25c3c18e4ed7.tar.gz
add header guards
Diffstat (limited to 'src/bin/termptyops.h')
-rw-r--r--src/bin/termptyops.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/termptyops.h b/src/bin/termptyops.h
index 8d11a41..23ff810 100644
--- a/src/bin/termptyops.h
+++ b/src/bin/termptyops.h
@@ -1,3 +1,6 @@
+#ifndef _TERMPTY_OPS_H__
+#define _TERMPTY_OPS_H__ 1
+
typedef enum _Termpty_Clear
{
TERMPTY_CLR_END,
@@ -20,3 +23,5 @@ void _termpty_reset_state(Termpty *ty);
void _termpty_cursor_copy(Termstate *state, Termstate *dest);
#define _term_txt_write(ty, txt) termpty_write(ty, txt, sizeof(txt) - 1)
+
+#endif