diff options
Diffstat (limited to 'rc.h')
| -rw-r--r-- | rc.h | 35 |
1 files changed, 1 insertions, 34 deletions
@@ -46,10 +46,6 @@ typedef enum bool { FALSE, TRUE } bool; -typedef enum inputtype { - iFd, iString -} inputtype; - typedef enum redirtype { rFrom, rCreate, rAppend, rHeredoc, rHerestring } redirtype; @@ -326,38 +322,8 @@ extern int yyparse(void); extern void initparse(void); /* readline */ - -#if READLINE - -/* Including the real readline .h files is too complicated, so we just -declare what we actually use. */ - -extern void add_history(char *); -extern char *readline(char *); -extern int rl_clear_signals(void); -extern int rl_pending_input; -extern int rl_reset_terminal(char *); - -#if READLINE_OLD -extern void rl_clean_up_for_exit(void); -extern void rl_deprep_terminal(void); -#else -extern void _rl_clean_up_for_exit(void); -extern void (*rl_deprep_term_function)(void); -#endif - -extern char *rc_readline(char *); - extern volatile sig_atomic_t rl_active; extern struct Jbwrap rl_buf; -#endif - -#if EDITLINE -extern char *readline(char *); -extern void add_history(char *); -#define rc_readline readline -#endif - /* redir.c */ extern void doredirs(void); @@ -368,6 +334,7 @@ extern void initsignal(void); extern void catcher(int); extern void sigchk(void); extern void (*rc_signal(int, void (*)(int)))(int); +extern void (*sys_signal(int, void (*)(int)))(int); extern void (*sighandlers[])(int); |