Skip to content

Commit fcedb37

Browse files
Denton-Lgitster
authored andcommitted
compat/mingw.h: drop extern from function declaration
In 5545442 (*.[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 08809c0 (mingw: add a helper function to attach GDB to the current process, 2020-02-13). Remove this spurious `extern`. Signed-off-by: Denton Liu <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d98273b commit fcedb37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compat/mingw.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ int main(int argc, const char **argv);
606606
* Call this function to open a new MinTTY (this assumes you are in Git for
607607
* Windows' SDK) with a GDB that attaches to the current process right away.
608608
*/
609-
extern void open_in_gdb(void);
609+
void open_in_gdb(void);
610610

611611
/*
612612
* Used by Pthread API implementation for Windows

0 commit comments

Comments
 (0)