gdb: make core_target_open static

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.
This commit is contained in:
Andrew Burgess
2024-10-02 15:46:51 +01:00
parent ae2a96659a
commit cced05faea
2 changed files with 6 additions and 6 deletions

View File

@@ -59,6 +59,10 @@
#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. */
@@ -904,9 +908,9 @@ locate_exec_from_corefile_build_id (bfd *abfd, core_target *target,
}
}
/* 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;