Use core.stdc.stdlib instead of std.c.process for exit()

This commit is contained in:
Les De Ridder 2018-11-28 18:36:33 +01:00
parent dc59816373
commit b0c0a8924e
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ extern(System)
threads from the runtime because after fuse_main finishes the pthreads
are joined. We circumvent that problem by just exiting while our
threads still run. */
import std.c.process;
import core.stdc.stdlib : exit;
exit(0);
}
} /* extern(C) */