summaryrefslogtreecommitdiffhomepage
path: root/lib/struct.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-11-01 19:16:32 +0100
committerJo-Philipp Wich <jo@mein.io>2021-11-01 19:16:32 +0100
commita0512eaf305d54661adec6893154161e5be01b2e (patch)
tree4485be9339b6d3c548affacf08bec6fc961c3535 /lib/struct.c
parentdcb6ffdb2acab40702bc3519f74617d7846b5625 (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 'lib/struct.c')
-rw-r--r--lib/struct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/struct.c b/lib/struct.c
index 3a74bb2..32edb1b 100644
--- a/lib/struct.c
+++ b/lib/struct.c
@@ -70,7 +70,7 @@
#include "ucode/module.h"
-static uc_ressource_type_t *struct_type;
+static uc_resource_type_t *struct_type;
typedef struct formatdef {
char format;
@@ -2529,7 +2529,7 @@ uc_struct_new(uc_vm_t *vm, size_t nargs)
if (!state)
return NULL;
- return uc_ressource_new(struct_type, state);
+ return uc_resource_new(struct_type, state);
}
static void