]> git.ipfire.org Git - thirdparty/git.git/commit - cache.h
Mark the variable declarations in .h files as extern
authorPetr Baudis <pasky@ucw.cz>
Tue, 10 May 2005 22:58:16 +0000 (00:58 +0200)
committerPetr Baudis <xpasky@machine.sinus.cz>
Tue, 10 May 2005 22:58:16 +0000 (00:58 +0200)
commit883550481f885ab2865ab71819167230d21d4c14
tree4552762e553e923bd013858b23a55ef125fdb501
parent92747a907cba83938def6e7eb3ee1b4d3d9e609f
Mark the variable declarations in .h files as extern

This allows git to be built even with linkers which are not smart enough
to join those symbols, and makes this correct C. Pointed out by several
people.
cache.h
object.h