Remove exit in favor of os-exit.

This commit is contained in:
Calvin Rose
2018-03-28 21:24:54 -04:00
parent e21a69920f
commit 0d5b57daee
5 changed files with 3 additions and 15 deletions
-9
View File
@@ -23,15 +23,6 @@
#include <dst/dst.h>
#include <dst/dstcorelib.h>
int dst_core_exit(DstArgs args) {
int32_t exitcode = 0;
if (args.n > 0) {
exitcode = dst_hash(args.v[0]);
}
exit(exitcode);
return 0;
}
int dst_core_print(DstArgs args) {
int32_t i;
for (i = 0; i < args.n; ++i) {