asm: fix all compiler warnings

This commit is contained in:
2024-12-13 17:20:58 +00:00
parent b3a9943fe5
commit 9af971c074
7 changed files with 102 additions and 55 deletions

View File

@@ -7,6 +7,9 @@
#include <stdio.h>
#define IVY_ASM_INDEX_AUTO (-1)
#define IVY_EX_DATA_KEY_NULL ((ivy_extended_data_key)0)
typedef uint32_t ivy_extended_data_key;
struct ivy_selector;
struct ivy_instr;
@@ -63,7 +66,7 @@ IVY_API enum ivy_status ivy_assembler_end_scope(struct ivy_assembler *as);
IVY_API enum ivy_status ivy_assembler_put_pval(
struct ivy_assembler *as, enum ivy_assembler_pval_type type,
unsigned long index, const void *val);
const void *val, ivy_extended_data_key *key);
IVY_API enum ivy_status ivy_assembler_put_xval(
struct ivy_assembler *as, enum ivy_assembler_xval_type type,
const ivy_assembler_attrib_table attrib);

View File

@@ -29,8 +29,6 @@
#define IVY_BIN_NULL_HANDLE ((ivy_bin_data_handle)0)
typedef uint32_t ivy_bin_data_handle;
struct ivy_bin_header {
b_i32 h_magic;
b_i16 h_table_len;