Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 1329c5e

Browse files
Geod24dlang-bot
authored andcommitted
Trivial: Remove 'private' in front of import
1 parent 0c3307b commit 1329c5e

File tree

181 files changed

+269
-269
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

181 files changed

+269
-269
lines changed

src/core/runtime.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
module core.runtime;
1212

13-
private import core.internal.execinfo;
13+
import core.internal.execinfo;
1414

1515
version (OSX)
1616
version = Darwin;

src/core/stdc/limits.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ else version (TVOS)
2323
else version (WatchOS)
2424
version = Darwin;
2525

26-
private import core.stdc.config;
26+
import core.stdc.config;
2727

2828
extern (C):
2929
@trusted: // Constants only.

src/core/stdc/math.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
module core.stdc.math;
1515

16-
private import core.stdc.config;
16+
import core.stdc.config;
1717

1818
version (OSX)
1919
version = Darwin;

src/core/stdc/stdint.d

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414

1515
module core.stdc.stdint;
1616

17-
private import core.stdc.config;
18-
private import core.stdc.stddef; // for wchar_t
19-
private import core.stdc.signal; // for sig_atomic_t
20-
private import core.stdc.wchar_; // for wint_t
17+
import core.stdc.config;
18+
import core.stdc.stddef; // for wchar_t
19+
import core.stdc.signal; // for sig_atomic_t
20+
import core.stdc.wchar_; // for wint_t
2121

2222
version (OSX)
2323
version = Darwin;

src/core/stdc/stdlib.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
module core.stdc.stdlib;
1616

17-
private import core.stdc.config;
17+
import core.stdc.config;
1818
public import core.stdc.stddef; // for wchar_t
1919

2020
version (OSX)

src/core/stdc/tgmath.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
module core.stdc.tgmath;
1616

17-
private import core.stdc.config;
17+
import core.stdc.config;
1818
private static import core.stdc.math;
1919
private static import core.stdc.complex;
2020

src/core/stdc/time.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ else version (Windows)
2222
else
2323
static assert(0, "unsupported system");
2424

25-
private import core.stdc.config;
25+
import core.stdc.config;
2626

2727
extern (C):
2828
@trusted: // There are only a few functions here that use unsafe C strings.

src/core/stdc/wchar_.d

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
module core.stdc.wchar_;
1616

17-
private import core.stdc.config;
18-
private import core.stdc.stdarg; // for va_list
19-
private import core.stdc.stdio; // for FILE, not exposed per spec
17+
import core.stdc.config;
18+
import core.stdc.stdarg; // for va_list
19+
import core.stdc.stdio; // for FILE, not exposed per spec
2020
public import core.stdc.stddef; // for wchar_t
2121
public import core.stdc.time; // for tm
2222
public import core.stdc.stdint; // for WCHAR_MIN, WCHAR_MAX

src/core/sync/barrier.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ module core.sync.barrier;
1717

1818

1919
public import core.sync.exception;
20-
private import core.sync.condition;
21-
private import core.sync.mutex;
20+
import core.sync.condition;
21+
import core.sync.mutex;
2222

2323

2424
////////////////////////////////////////////////////////////////////////////////

src/core/sync/condition.d

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@ public import core.time;
2222

2323
version (Windows)
2424
{
25-
private import core.sync.semaphore;
26-
private import core.sys.windows.basetsd /+: HANDLE+/;
27-
private import core.sys.windows.winbase /+: CloseHandle, CreateSemaphoreA, CRITICAL_SECTION,
25+
import core.sync.semaphore;
26+
import core.sys.windows.basetsd /+: HANDLE+/;
27+
import core.sys.windows.winbase /+: CloseHandle, CreateSemaphoreA, CRITICAL_SECTION,
2828
DeleteCriticalSection, EnterCriticalSection, INFINITE, InitializeCriticalSection,
2929
LeaveCriticalSection, ReleaseSemaphore, WAIT_OBJECT_0, WaitForSingleObject+/;
30-
private import core.sys.windows.windef /+: BOOL, DWORD+/;
31-
private import core.sys.windows.winerror /+: WAIT_TIMEOUT+/;
30+
import core.sys.windows.windef /+: BOOL, DWORD+/;
31+
import core.sys.windows.winerror /+: WAIT_TIMEOUT+/;
3232
}
3333
else version (Posix)
3434
{
35-
private import core.sync.config;
36-
private import core.stdc.errno;
37-
private import core.sys.posix.pthread;
38-
private import core.sys.posix.time;
35+
import core.sync.config;
36+
import core.stdc.errno;
37+
import core.sys.posix.pthread;
38+
import core.sys.posix.time;
3939
}
4040
else
4141
{

0 commit comments

Comments
 (0)