summaryrefslogtreecommitdiff
path: root/usr/src/lib/libcurses/screen/compiler.h
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2012-05-01 21:27:17 +0100
committerRichard Lowe <richlowe@richlowe.net>2012-05-01 21:27:17 +0100
commit09a48d4ca0ddda4ad26cc885769745870d989baf (patch)
tree221d7865e608c113015cdc569ea0bcb6ceeb47d3 /usr/src/lib/libcurses/screen/compiler.h
parentd0b2dca528da7be0d70565a5655d328da4e28ec2 (diff)
downloadillumos-joyent-09a48d4ca0ddda4ad26cc885769745870d989baf.tar.gz
2668 syntax error in terminfo.src trips uninitialized var in tic, screws terminfo
Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/lib/libcurses/screen/compiler.h')
-rw-r--r--usr/src/lib/libcurses/screen/compiler.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/usr/src/lib/libcurses/screen/compiler.h b/usr/src/lib/libcurses/screen/compiler.h
index c1d6f82be0..e96c396cac 100644
--- a/usr/src/lib/libcurses/screen/compiler.h
+++ b/usr/src/lib/libcurses/screen/compiler.h
@@ -40,8 +40,6 @@
#ifndef _COMPILER_H
#define _COMPILER_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* COPYRIGHT NOTICE
*
@@ -131,11 +129,12 @@ EXTERN int debug_level; /* level of debugging output */
*
*/
-#define BOOLEAN 0 /* Boolean capability */
-#define NUMBER 1 /* Numeric capability */
-#define STRING 2 /* String-valued capability */
-#define CANCEL 3 /* Capability to be cancelled in following tc's */
-#define NAMES 4 /* The names for a terminal type */
+#define BOOLEAN 0 /* Boolean capability */
+#define NUMBER 1 /* Numeric capability */
+#define STRING 2 /* String-valued capability */
+#define CANCEL 3 /* Capability to be cancelled in following tc's */
+#define NAMES 4 /* The names for a terminal type */
+#define UNDEF 5 /* Invalid token type */
#define MAXBOOLS 64 /* Maximum # of boolean caps we can handle */
#define MAXNUMS 64 /* Maximum # of numeric caps we can handle */