Skip to content

Commit 867d4b8

Browse files
committed
[little test]
1 parent 54d6770 commit 867d4b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

runtime/druntime/src/rt/dso.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ version (Posix)
7878
version (Darwin)
7979
{
8080
align(16) byte tlsAnchor = 1;
81-
extern(C) void* getTLSAnchor() nothrow @nogc
81+
void* getTLSAnchor() nothrow @nogc
8282
{
8383
return &tlsAnchor;
8484
}

runtime/druntime/src/rt/sections_elf_shared.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ else
486486

487487
version (Darwin)
488488
{
489-
extern(C) alias GetTLSAnchor = void* function() nothrow @nogc;
489+
alias GetTLSAnchor = void* function() nothrow @nogc;
490490
}
491491
else version (Windows)
492492
{

0 commit comments

Comments
 (0)