The core_target_open function is only used in corelow.c, so lets make
it static.
There should be no user visible changes after this commit.
#define O_LARGEFILE 0
#endif
+/* Forward declarations. */
+
+static void core_target_open (const char *arg, int from_tty);
+
/* A mem_range and the build-id associated with the file mapped into the
given range. */
}
}
-/* See gdbcore.h. */
+/* Open and set up the core file bfd. */
-void
+static void
core_target_open (const char *arg, int from_tty)
{
const char *p;
extern bool write_files;
-/* Open and set up the core file bfd. */
-
-extern void core_target_open (const char *arg, int from_tty);
-
extern void core_file_command (const char *filename, int from_tty);
extern void exec_file_attach (const char *filename, int from_tty);