PR gdb/544

* rltty.c (block_sigint, release_sigint): Rename to...
	(_rl_block_sigint, _rl_release_sigint): ...these and make them global.
	* rltty.h (_rl_block_sigint, _rl_release_sigint): New prototypes.
	* display.c (rl_redisplay): Wrap the function by the calls to
	_RL_BLOCK_SIGINT and _RL_RELEASE_SIGINT.
This commit is contained in:
Jan Kratochvil
2008-03-24 12:59:51 +00:00
parent 086a18414a
commit 87adec2ec1
4 changed files with 32 additions and 14 deletions

View File

@ -79,4 +79,7 @@ typedef struct _rl_tty_chars {
unsigned char t_status;
} _RL_TTY_CHARS;
extern void _rl_block_sigint PARAMS((void));
extern void _rl_release_sigint PARAMS((void));
#endif /* _RLTTY_H_ */