diff --git a/algorithm/marucoin.c b/algorithm/marucoin.c index d54b8f2d..82941581 100644 --- a/algorithm/marucoin.c +++ b/algorithm/marucoin.c @@ -66,7 +66,7 @@ typedef struct { sph_fugue512_context fugue1; } Xhash_context_holder; -Xhash_context_holder base_contexts; +static Xhash_context_holder base_contexts; void init_Mhash_contexts() diff --git a/algorithm/talkcoin.c b/algorithm/talkcoin.c index aa5f737c..7da83f15 100644 --- a/algorithm/talkcoin.c +++ b/algorithm/talkcoin.c @@ -47,7 +47,7 @@ typedef struct sph_skein512_context skein1; } Xhash_context_holder; -Xhash_context_holder base_contexts; +static Xhash_context_holder base_contexts; void init_Nhash_contexts() { diff --git a/winbuild/sgminer.vcxproj b/winbuild/sgminer.vcxproj index 806b1694..37bc41b5 100644 --- a/winbuild/sgminer.vcxproj +++ b/winbuild/sgminer.vcxproj @@ -257,6 +257,7 @@ + @@ -319,6 +320,7 @@ + diff --git a/winbuild/sgminer.vcxproj.filters b/winbuild/sgminer.vcxproj.filters index b0546660..95548801 100644 --- a/winbuild/sgminer.vcxproj.filters +++ b/winbuild/sgminer.vcxproj.filters @@ -215,6 +215,9 @@ Source Files + + Source Files\algorithm + @@ -388,6 +391,9 @@ Header Files + + Header Files\algorithm +