Revision 5c238e29a85dd109e42513c6a9d09008d8839bae authored by Jeff King on 27 October 2016, 17:30:30 UTC, committed by Junio C Hamano on 27 October 2016, 17:36:45 UTC
Commit 3f2e2297b9 (add an extra level of indirection to main(), 2016-07-01) added a declaration to git-compat-util.h, but it was accidentally placed after the final #endif that guards against multiple inclusions. This doesn't have any actual impact on the code, since it's not incorrect to repeat a function declaration in C. But it's a bad habit, and makes it more likely for somebody else to make the same mistake. It also defeats gcc's optimization to avoid opening header files whose contents are completely guarded. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent de61ceb
File | Mode | Size |
---|---|---|
Git | ||
.gitignore | -rw-r--r-- | 79 bytes |
Git.pm | -rw-r--r-- | 45.6 KB |
Makefile | -rw-r--r-- | 2.2 KB |
Makefile.PL | -rw-r--r-- | 1.6 KB |
private-Error.pm | -rw-r--r-- | 18.6 KB |
Computing file changes ...