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.
Showing
想要评论请 注册 或 登录
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.