remove trailing whitespace

This commit is contained in:
Love Hornquist Astrand
2011-05-21 11:57:31 -07:00
parent 25e86d6f4d
commit 0879b9831a
539 changed files with 6825 additions and 6825 deletions

View File

@@ -258,7 +258,7 @@ rl_set_prompt(const char *prompt)
if (!prompt)
prompt = "";
if (rl_prompt != NULL && strcmp(rl_prompt, prompt) == 0)
if (rl_prompt != NULL && strcmp(rl_prompt, prompt) == 0)
return 0;
if (rl_prompt)
free(rl_prompt);
@@ -352,7 +352,7 @@ rl_initialize(void)
"ReadLine compatible suspend function",
_el_rl_tstp);
el_set(e, EL_BIND, "^Z", "rl_tstp", NULL);
/* read settings from configuration file */
el_source(e, NULL);
@@ -1937,7 +1937,7 @@ rl_callback_read_char()
}
}
void
void
rl_callback_handler_install(const char *prompt, VCPFunction *linefunc)
{
if (e == NULL) {
@@ -1946,9 +1946,9 @@ rl_callback_handler_install(const char *prompt, VCPFunction *linefunc)
(void)rl_set_prompt(prompt);
rl_linefunc = linefunc;
el_set(e, EL_UNBUFFERED, 1);
}
}
void
void
rl_callback_handler_remove(void)
{
el_set(e, EL_UNBUFFERED, 0);
@@ -2148,7 +2148,7 @@ rl_completion_matches(const char *str, rl_compentry_func_t *fun)
list[0][min] = '\0';
}
return list;
out:
free(list);
return NULL;