Merge branch 'js/mingw-remove-unused-extern-decl'

An unused extern declaration for mingw has been removed to prevent
it from causing build failure.

* js/mingw-remove-unused-extern-decl:
  mingw: drop bogus (and unneeded) declaration of `_pgmptr`
This commit is contained in:
Junio C Hamano 2024-06-27 09:19:58 -07:00
commit 424a13db64

View file

@ -26,7 +26,6 @@ static const int delay[] = { 0, 1, 10, 20, 40 };
void open_in_gdb(void) void open_in_gdb(void)
{ {
static struct child_process cp = CHILD_PROCESS_INIT; static struct child_process cp = CHILD_PROCESS_INIT;
extern char *_pgmptr;
strvec_pushl(&cp.args, "mintty", "gdb", NULL); strvec_pushl(&cp.args, "mintty", "gdb", NULL);
strvec_pushf(&cp.args, "--pid=%d", getpid()); strvec_pushf(&cp.args, "--pid=%d", getpid());