From 7bd8ab5f10ff602043cdb2f2fe2b3bbe829e33cb Mon Sep 17 00:00:00 2001 From: anon Date: Fri, 4 Aug 2023 22:35:47 +0200 Subject: [PATCH] rm useless macros --- src/constants.h | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/src/constants.h b/src/constants.h index 0b3ed92..263f879 100644 --- a/src/constants.h +++ b/src/constants.h @@ -164,29 +164,4 @@ # define TERMINFO 1 #endif - -#if !TERMINFO -# ifndef KEY_BREAK -# define KEY_BREAK 0400 /* easier to define than to add #if around the use */ -# endif -# ifndef KEY_ENTER -# define KEY_ENTER 0401 -# endif -# ifndef KEY_BACKSPACE -# define KEY_BACKSPACE 0402 -# endif - -# if !sun -# define cbreak() crmode() /* name change */ -# endif - -# if UNIXPC -# define erasechar() (_tty.c_cc[VERASE]) /* equivalent */ -# define killchar() (_tty.c_cc[VKILL]) /* equivalent */ -# else -# define erasechar() (_tty.sg_erase) /* equivalent */ -# define killchar() (_tty.sg_kill) /* equivalent */ -# endif /* if UNIXPC */ -#endif /* if !TERMINFO */ - #endif /* CSCOPE_CONSTANTS_H */