8ef1d333b5
Make some globals static that can be I wrote this patch as part of making a Bazel build system but it really is independent from that so I'm putting this as a separate PR. External linkage does not help and just encourages sloppy dependencies (ie using symbols only declared in a cpp file in some other cpp file) and can lead to weird issues when there are name collisions. |
||
---|---|---|
.. | ||
common.h | ||
equihash.cpp | ||
equihash.h | ||
equihash.tcc | ||
hmac_sha256.cpp | ||
hmac_sha256.h | ||
hmac_sha512.cpp | ||
hmac_sha512.h | ||
ripemd160.cpp | ||
ripemd160.h | ||
sha1.cpp | ||
sha1.h | ||
sha256.cpp | ||
sha256.h | ||
sha512.cpp | ||
sha512.h |