summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorLibravatar Denton Liu <liu.denton@gmail.com>2020-10-07 01:31:59 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-10-07 09:55:20 -0700
commitfcedb379fd1842cf943a05a331be862ad8d2d919 (patch)
treee25f1a7b6ac0ca98ecc4804303e973c7996e1227 /compat
parentGit 2.29-rc0 (diff)
downloadtgif-fcedb379fd1842cf943a05a331be862ad8d2d919.tar.xz
compat/mingw.h: drop extern from function declaration
In 554544276a (*.[ch]: remove extern from function declarations using spatch, 2019-04-29), `extern` on function declarations were declared to be redundant and thus removed from the codebase. An `extern` was accidentally reintroduced in 08809c09aa (mingw: add a helper function to attach GDB to the current process, 2020-02-13). Remove this spurious `extern`. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat')
-rw-r--r--compat/mingw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/mingw.h b/compat/mingw.h
index e6fe810ba9..af8eddd73e 100644
--- a/compat/mingw.h
+++ b/compat/mingw.h
@@ -606,7 +606,7 @@ int main(int argc, const char **argv);
* Call this function to open a new MinTTY (this assumes you are in Git for
* Windows' SDK) with a GDB that attaches to the current process right away.
*/
-extern void open_in_gdb(void);
+void open_in_gdb(void);
/*
* Used by Pthread API implementation for Windows