aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-03-26 18:30:04 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-03-26 18:30:04 +0100
commit85d44442e9df5f070c0a9a7470acf76f21961d7f (patch)
tree50fea2502d0967b6296e07bb96289eeae522fbcc
parentd3e56776b7899bea5e8e93f8c39b9367dcb81ee3 (diff)
downloadtermo-85d44442e9df5f070c0a9a7470acf76f21961d7f.tar.gz
termo-85d44442e9df5f070c0a9a7470acf76f21961d7f.tar.xz
termo-85d44442e9df5f070c0a9a7470acf76f21961d7f.zip
Avoid the underscore in struct _TermKey
-rw-r--r--termkey-internal.h2
-rw-r--r--termkey.h.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/termkey-internal.h b/termkey-internal.h
index 17ff677..d23f68c 100644
--- a/termkey-internal.h
+++ b/termkey-internal.h
@@ -30,7 +30,7 @@ struct TermKeyDriverNode {
struct TermKeyDriverNode *next;
};
-struct _TermKey {
+struct TermKey {
int fd;
int flags;
int canonflags;
diff --git a/termkey.h.in b/termkey.h.in
index a96a9a2..6c91b09 100644
--- a/termkey.h.in
+++ b/termkey.h.in
@@ -136,7 +136,7 @@ typedef struct {
char utf8[7];
} TermKeyKey;
-typedef struct _TermKey TermKey;
+typedef struct TermKey TermKey;
enum {
TERMKEY_FLAG_NOINTERPRET = 1 << 0, /* Do not interpret C0//DEL codes if possible */