Skip to content

Commit

Permalink
Switch to d version of _STI_monitor_staticctor
Browse files Browse the repository at this point in the history
  • Loading branch information
braddr committed Feb 7, 2011
1 parent 6c2f4d1 commit 7d43689
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/rt/monitor.c
Expand Up @@ -57,6 +57,7 @@ extern volatile int inited_monitor_stuff;

extern CRITICAL_SECTION _monitor_critsec;

#if 0
void _STI_monitor_staticctor()
{
printf("+_STI_monitor_staticctor() - c\n");
Expand All @@ -66,6 +67,7 @@ void _STI_monitor_staticctor()
}
printf("-_STI_monitor_staticctor() - c\n");
}
#endif

void _STD_monitor_staticdtor()
{
Expand Down
2 changes: 1 addition & 1 deletion src/rt/monitor_.d
Expand Up @@ -86,7 +86,6 @@ version( Windows )
{
extern(C) __gshared CRITICAL_SECTION _monitor_critsec;

/+
extern (C) void _STI_monitor_staticctor()
{
debug(PRINTF) printf("+_STI_monitor_staticctor()\n");
Expand All @@ -98,6 +97,7 @@ version( Windows )
debug(PRINTF) printf("-_STI_monitor_staticctor()\n");
}

/+
extern (C) void _STD_monitor_staticdtor()
{
debug(PRINTF) printf("+_STI_monitor_staticdtor() - d\n");
Expand Down

0 comments on commit 7d43689

Please sign in to comment.