summaryrefslogtreecommitdiff
path: root/usr.bin/mg
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-08 22:15:43 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-08 22:15:43 +0000
commit498de9d559ef8d18745f0741a64ac726b5be698b (patch)
tree34bfe2033fb16749b19b6916b0bfbf37ff868787 /usr.bin/mg
parentb6103358db477798382c0a638a76d0ca6427ab99 (diff)
make lint happier; vincent ok
Diffstat (limited to 'usr.bin/mg')
-rw-r--r--usr.bin/mg/ttydef.h6
-rw-r--r--usr.bin/mg/ttykbd.c9
2 files changed, 9 insertions, 6 deletions
diff --git a/usr.bin/mg/ttydef.h b/usr.bin/mg/ttydef.h
index 94d0ba1e69f..9a6da90289c 100644
--- a/usr.bin/mg/ttydef.h
+++ b/usr.bin/mg/ttydef.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ttydef.h,v 1.6 2002/02/21 00:02:05 deraadt Exp $ */
+/* $OpenBSD: ttydef.h,v 1.7 2004/07/08 22:15:42 deraadt Exp $ */
#ifndef TTYDEF_H
#define TTYDEF_H
@@ -15,10 +15,6 @@
#define STANDOUT_GLITCH /* possible standout glitch */
#define TERMCAP /* for possible use in ttyio.c */
-#ifndef XKEYS
-#define ttykeymapinit() {}
-#endif
-
#define putpad(str, num) tputs(str, num, ttputc)
#define KFIRST K00
diff --git a/usr.bin/mg/ttykbd.c b/usr.bin/mg/ttykbd.c
index bc84339b89c..b7758b703a0 100644
--- a/usr.bin/mg/ttykbd.c
+++ b/usr.bin/mg/ttykbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ttykbd.c,v 1.11 2003/05/20 03:08:55 cloder Exp $ */
+/* $OpenBSD: ttykbd.c,v 1.12 2004/07/08 22:15:42 deraadt Exp $ */
/*
* Name: MG 2a
@@ -77,4 +77,11 @@ ttykeymaptidy(void)
putpad(keypad_local, 1);
}
+#else
+
+void
+ttykeymapinit(void)
+{
+}
+
#endif /* XKEYS */