1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-22 10:14:49 +00:00

Try and fix os.clock on windows.

This commit is contained in:
Calvin Rose
2018-07-08 20:54:41 -04:00
parent f92f358279
commit 5b15ad9ff8
8 changed files with 31 additions and 47 deletions

View File

@@ -1262,7 +1262,7 @@ DstSignal dst_call(
}
/* Setup VM */
int dst_init() {
int dst_init(void) {
/* Garbage collection */
dst_vm_blocks = NULL;
dst_vm_next_collection = 0;
@@ -1283,7 +1283,7 @@ int dst_init() {
}
/* Clear all memory associated with the VM */
void dst_deinit() {
void dst_deinit(void) {
dst_clear_memory();
dst_symcache_deinit();
free(dst_vm_roots);