Minor, header cleanup, whitespace fixes, comments

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2017-11-30 18:20:29 +01:00
parent a1f0a81a31
commit a9d4247c09
2 changed files with 20 additions and 20 deletions

View File

@@ -61,11 +61,14 @@ typedef struct {
char **Lines;
} el_hist_t;
/* User definable callbacks. */
rl_getc_func_t *rl_getc_function = rl_getc;
rl_hook_func_t *rl_event_hook;
rl_vintfunc_t *rl_prep_term_function = rl_prep_terminal;
rl_voidfunc_t *rl_deprep_term_function = rl_deprep_terminal;
char **(*rl_attempted_completion_function)(const char *token, int start, int end);
/*
** Globals.
*/
@@ -121,9 +124,6 @@ const char *rl_readline_name = NULL; /* Set by calling program, for condit
FILE *rl_instream = NULL; /* The stdio stream from which input is read. Defaults to stdin if NULL */
FILE *rl_outstream = NULL; /* The stdio stream to which output is flushed. Defaults to stdout if NULL */
/* User definable callbacks. */
char **(*rl_attempted_completion_function)(const char *token, int start, int end);
/* Declarations. */
static char *editinput(void);
#ifdef CONFIG_USE_TERMCAP