summaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-12-09 00:59:27 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-12-09 00:59:27 +0000
commit73e54ef7ba78a822d8a09c9529de8c2b5c1ce16d (patch)
tree87cfebdcb3215996c290740582eebe83b4745907 /gdb/source.c
parent1f1bb18f9cfdcdd4905180c76572dec1cf5b3445 (diff)
downloadgdb-73e54ef7ba78a822d8a09c9529de8c2b5c1ce16d.tar.gz
2002-12-08 Elena Zannoni <ezannoni@redhat.com>
More cleanup from import of readline 4.3. * completer.h (complete_line, readline_line_completion_function): Update prototypes. (line_completion_function): Removed, not used outside of completer.c. * completer.c (readline_line_completion_function, complete_function, line_completion_function): Use const for first parameter. (line_completion_function): Make static. (filename_completer): filename_completion_function is now called rl_filename_completion_function * corelow.c: Include <readline/readline.h>. * exec.c: Ditto. * solib.c: Ditto. * source.c: Ditto. * symfile.c: Ditto. * symmisc.c: Ditto. * top.c (init_main): No need to coerce readline_line_completion_function anymore. * cli/cli-dump.c: Include <readline/readline.h>.
Diffstat (limited to 'gdb/source.c')
-rw-r--r--gdb/source.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/source.c b/gdb/source.c
index 0107bfa2355..be5d90c3386 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -44,6 +44,7 @@
#include "filenames.h" /* for DOSish file names */
#include "completer.h"
#include "ui-out.h"
+#include <readline/readline.h>
#ifdef CRLF_SOURCE_FILES