]> git.ipfire.org Git - thirdparty/git.git/commitdiff
compat/mingw.h: drop extern from function declaration
authorDenton Liu <liu.denton@gmail.com>
Wed, 7 Oct 2020 08:31:59 +0000 (01:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Oct 2020 16:55:20 +0000 (09:55 -0700)
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>
compat/mingw.h

index e6fe810ba98fd30b9cea405000de032a856adfcc..af8eddd73edb2b1d19caddad4732aa7a370d0cc0 100644 (file)
@@ -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