]> git.sesse.net Git - stockfish/commitdiff
Consistent use of anonymous namespace
authorlucasart <lucas.braesch@gmail.com>
Sat, 1 Nov 2014 20:35:10 +0000 (20:35 +0000)
committerJoona Kiiski <joona.kiiski@gmail.com>
Sat, 1 Nov 2014 20:35:10 +0000 (20:35 +0000)
Objects that are only accessible at file-scope should be put in the anonymous namespace.
This is what the  C++ standard recommends, rather than using static, which is really C-style and results in static linkage.

Stockfish already does this throughout the code. So let's weed out the few exceptions,
because... they have no reason to be exceptional.

No functional change.

Resolves #84


No differences found