summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lsh256_avx.cpp6
-rw-r--r--lsh256_sse.cpp6
-rw-r--r--lsh512_avx.cpp6
-rw-r--r--lsh512_sse.cpp6
4 files changed, 12 insertions, 12 deletions
diff --git a/lsh256_avx.cpp b/lsh256_avx.cpp
index e700cf88..f5cb4401 100644
--- a/lsh256_avx.cpp
+++ b/lsh256_avx.cpp
@@ -15,6 +15,9 @@
#include "lsh.h"
#include "misc.h"
+// Squash MS LNK4221 and libtool warnings
+extern const char LSH256_AVX_FNAME[] = __FILE__;
+
#if defined(CRYPTOPP_AVX2_AVAILABLE) && defined(CRYPTOPP_ENABLE_64BIT_SSE)
#if defined(CRYPTOPP_AVX2_AVAILABLE)
@@ -27,9 +30,6 @@
# include <x86intrin.h>
#endif
-// Squash MS LNK4221 and libtool warnings
-extern const char LSH256_AVX_FNAME[] = __FILE__;
-
ANONYMOUS_NAMESPACE_BEGIN
/* LSH Constants */
diff --git a/lsh256_sse.cpp b/lsh256_sse.cpp
index 692164bc..5ede5b12 100644
--- a/lsh256_sse.cpp
+++ b/lsh256_sse.cpp
@@ -16,6 +16,9 @@
#include "cpu.h"
#include "misc.h"
+// Squash MS LNK4221 and libtool warnings
+extern const char LSH256_SSE_FNAME[] = __FILE__;
+
#if defined(CRYPTOPP_SSSE3_AVAILABLE) && defined(CRYPTOPP_ENABLE_64BIT_SSE)
#if defined(CRYPTOPP_SSSE3_AVAILABLE)
@@ -32,9 +35,6 @@
# include <x86intrin.h>
#endif
-// Squash MS LNK4221 and libtool warnings
-extern const char LSH256_SSE_FNAME[] = __FILE__;
-
ANONYMOUS_NAMESPACE_BEGIN
/* LSH Constants */
diff --git a/lsh512_avx.cpp b/lsh512_avx.cpp
index 56d00d5c..21a6b96d 100644
--- a/lsh512_avx.cpp
+++ b/lsh512_avx.cpp
@@ -15,6 +15,9 @@
#include "lsh.h"
#include "misc.h"
+// Squash MS LNK4221 and libtool warnings
+extern const char LSH512_AVX_FNAME[] = __FILE__;
+
#if defined(CRYPTOPP_AVX2_AVAILABLE) && defined(CRYPTOPP_ENABLE_64BIT_SSE)
#if defined(CRYPTOPP_AVX2_AVAILABLE)
@@ -27,9 +30,6 @@
# include <x86intrin.h>
#endif
-// Squash MS LNK4221 and libtool warnings
-extern const char LSH512_AVX_FNAME[] = __FILE__;
-
ANONYMOUS_NAMESPACE_BEGIN
/* LSH Constants */
diff --git a/lsh512_sse.cpp b/lsh512_sse.cpp
index af230c7b..9e0aea97 100644
--- a/lsh512_sse.cpp
+++ b/lsh512_sse.cpp
@@ -15,6 +15,9 @@
#include "lsh.h"
#include "misc.h"
+// Squash MS LNK4221 and libtool warnings
+extern const char LSH512_SSE_FNAME[] = __FILE__;
+
#if defined(CRYPTOPP_SSSE3_AVAILABLE) && defined(CRYPTOPP_ENABLE_64BIT_SSE)
#if defined(CRYPTOPP_SSSE3_AVAILABLE)
@@ -31,9 +34,6 @@
# include <x86intrin.h>
#endif
-// Squash MS LNK4221 and libtool warnings
-extern const char LSH512_SSE_FNAME[] = __FILE__;
-
ANONYMOUS_NAMESPACE_BEGIN
/* LSH Constants */