diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-11-01 19:16:32 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-11-01 19:16:32 +0100 |
commit | a0512eaf305d54661adec6893154161e5be01b2e (patch) | |
tree | 4485be9339b6d3c548affacf08bec6fc961c3535 /vm.c | |
parent | dcb6ffdb2acab40702bc3519f74617d7846b5625 (diff) |
treewide: fix typo in exported function names and types
Fix instances of misspelled "resource".
This commit breaks the exported libucode ABI.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1828,7 +1828,7 @@ uc_vm_insn_next(uc_vm_t *vm, uc_vm_insn_t insn) uc_value_t *k = uc_vm_stack_pop(vm); uc_value_t *v = uc_vm_stack_pop(vm); void *end = (void *)~(uintptr_t)0; - uc_ressource_t *iterk; + uc_resource_t *iterk; struct lh_entry *curr; uint64_t n; @@ -1838,9 +1838,9 @@ uc_vm_insn_next(uc_vm_t *vm, uc_vm_insn_t insn) } if (k == NULL) - k = ucv_ressource_new(NULL, NULL); + k = ucv_resource_new(NULL, NULL); - iterk = (uc_ressource_t *)k; + iterk = (uc_resource_t *)k; switch (ucv_type(v)) { case UC_OBJECT: |