diff options
author | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-08-02 23:48:37 +0000 |
---|---|---|
committer | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-08-02 23:48:37 +0000 |
commit | 6da787a878c938e680f13808dee254beacefbd43 (patch) | |
tree | 7c7b4d4f6655b210e33ca51f656f4552c9326ed3 /readline/search.c | |
parent | 1392c9fbbf6fe8811e5374356b7fdf3b389068ab (diff) | |
download | gdb-6da787a878c938e680f13808dee254beacefbd43.tar.gz |
import gdb-1999-08-02 snapshot
Diffstat (limited to 'readline/search.c')
-rw-r--r-- | readline/search.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/readline/search.c b/readline/search.c index 3024ee59677..6c76e1a1c96 100644 --- a/readline/search.c +++ b/readline/search.c @@ -61,7 +61,6 @@ extern Function *rl_last_func; /* Functions imported from the rest of the library. */ extern int _rl_free_history_entry (); extern char *_rl_make_prompt_for_search (); -extern void _rl_restore_prompt (); extern void rl_extend_line_buffer (); static char *noninc_search_string = (char *) NULL; @@ -172,7 +171,7 @@ noninc_search (dir, pchar) rl_message (p, 0, 0); free (p); -#define SEARCH_RETURN _rl_restore_prompt (); return +#define SEARCH_RETURN rl_restore_prompt (); return /* Read the search string. */ while (c = rl_read_key ()) @@ -241,7 +240,7 @@ noninc_search (dir, pchar) noninc_search_string = savestring (rl_line_buffer); } - _rl_restore_prompt (); + rl_restore_prompt (); noninc_dosearch (noninc_search_string, dir); } |