--- os2sdk/demos/apps/terminal/term.h 2018/08/09 12:25:13 1.1.1.1 +++ os2sdk/demos/apps/terminal/term.h 2018/08/09 12:26:00 1.1.1.2 @@ -2,25 +2,25 @@ */ /* index definitions for error messages array */ -#define ERR_VIOGETCONFIG 0 -#define ERR_KBDSETSTATUS 1 +#define ERR_VIOGETCONFIG 0 +#define ERR_KBDSETSTATUS 1 #define ERR_OUTOFMEMORY 2 -#define ERR_DOSCREATETHREAD 3 -#define ERR_DOSCLOSECOMPORT 4 +#define ERR_DOSCREATETHREAD 3 +#define ERR_DOSCLOSECOMPORT 4 #define ERR_IOCTLSETDCB 5 #define ERR_DOSREAD 6 #define ERR_VIOWRTTTY 7 -#define ERR_DOSOPEN 8 +#define ERR_DOSOPEN 8 #define ERR_IOCTLSETBAUD 9 #define ERR_IOCTLSETLINECHAR 10 #define ERR_IOCTLGETDCB 11 #define ERR_KBDCHARIN 12 -#define ERR_DOSWRITE 13 +#define ERR_DOSWRITE 13 #define ERR_VIOWRTCHARSTRATT 14 #define ERR_VIOWRTNCELL 15 #define ERR_DOSEXITLIST 16 #define ERR_VIOSETCURPOS 17 -#define ERR_VIOGETMODE 18 +#define ERR_VIOGETMODE 18 #define ERR_IOCTLFLUSHQUE 19 #define ERR_IOCTLGETCOMERROR 20 #define ERR_DOSSETSIGHANDLER 21 @@ -103,9 +103,7 @@ #define SETBREAKON 0x4b /* function: set break on */ #define SETBREAKOFF 0x45 /* function: set break off */ -/* miscelaneous definitions */ -#define TRUE 1 -#define FALSE 0 +/* miscellaneous definitions */ #define RESERVED 0 /* reserved word */ #define MONOCHROME 0 /* monochrome adapter, monochrome display */ #define STACKSIZE 4096 /* size of stack to allocate for threads */