mirror of
https://codeberg.org/andyscott/marCsweep.git
synced 2024-11-09 13:50:51 -05:00
VM: add void for initVM param (silence clang warning)
This commit is contained in:
parent
51663f0ca9
commit
dcc62257b3
1 changed files with 1 additions and 1 deletions
2
vm.c
2
vm.c
|
@ -4,7 +4,7 @@
|
||||||
#include "gc.h"
|
#include "gc.h"
|
||||||
#include "vm.h"
|
#include "vm.h"
|
||||||
|
|
||||||
struct virtualMachine *initVM() {
|
struct virtualMachine *initVM(void) {
|
||||||
struct virtualMachine *vm = malloc(sizeof(struct virtualMachine));
|
struct virtualMachine *vm = malloc(sizeof(struct virtualMachine));
|
||||||
vm->stackSize = 0;
|
vm->stackSize = 0;
|
||||||
vm->refCount = 0;
|
vm->refCount = 0;
|
||||||
|
|
Loading…
Reference in a new issue