Suppress ARI warnings for vsprintf
[deliverable/binutils-gdb.git] / gdb / source.c
index 9f53d654f36f1abd9fc00d2348ba1c671ad7c9c7..2ec3fbe7054eb14a6a3451e912dc9bbe4ecbcb45 100644 (file)
@@ -40,7 +40,7 @@
 #include "filenames.h"         /* for DOSish file names */
 #include "completer.h"
 #include "ui-out.h"
-#include "readline/readline.h"
+#include "readline/tilde.h"
 #include "gdbsupport/enum-flags.h"
 #include "gdbsupport/scoped_fd.h"
 #include <algorithm>
@@ -679,7 +679,7 @@ info_source_command (const char *ignore, int from_tty)
    letters (for dos) as well as leading '/' characters and './'
    sequences.  */
 
-const char *
+static const char *
 prepare_path_for_appending (const char *path)
 {
   /* For dos paths, d:/foo -> /foo, and d:foo -> foo.  */
This page took 0.024236 seconds and 4 git commands to generate.