Skip to content

Commit 643e9dc

Browse files
authored
Merge pull request #463 from alxvth/fix_global_linkage_again
Fix global linkage again
2 parents a4c8b0b + 2c538db commit 643e9dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hnswlib/hnswlib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#ifdef _MSC_VER
1616
#include <intrin.h>
1717
#include <stdexcept>
18-
void cpuid(int32_t out[4], int32_t eax, int32_t ecx) {
18+
static void cpuid(int32_t out[4], int32_t eax, int32_t ecx) {
1919
__cpuidex(out, eax, ecx);
2020
}
2121
static __int64 xgetbv(unsigned int x) {

0 commit comments

Comments
 (0)