yasm_warn_class wclass;
/*@owned@*/ /*@null@*/ char *wstr;
} warn;
-static STAILQ_HEAD(, warn) yasm_warns;
+static STAILQ_HEAD(warn_head, warn) yasm_warns;
/* Enabled warnings. See errwarn.h for a list. */
static unsigned long warn_class_enabled;
} errwarn_data;
struct yasm_errwarns {
- /*@reldef@*/ SLIST_HEAD(, errwarn_data) errwarns;
+ /*@reldef@*/ SLIST_HEAD(errwarn_head, errwarn_data) errwarns;
/* Total error count */
unsigned int ecount;
};
typedef struct optimize_data {
- /*@reldef@*/ TAILQ_HEAD(, yasm_span) spans;
- /*@reldef@*/ STAILQ_HEAD(, yasm_span) QA, QB;
+ /*@reldef@*/ TAILQ_HEAD(yasm_span_head, yasm_span) spans;
+ /*@reldef@*/ STAILQ_HEAD(yasm_span_shead, yasm_span) QA, QB;
/*@only@*/ IntervalTree *itree;
- /*@reldef@*/ STAILQ_HEAD(, yasm_offset_setter) offset_setters;
+ /*@reldef@*/ STAILQ_HEAD(offset_setters_head, yasm_offset_setter)
+ offset_setters;
long len_diff; /* used only for optimize_term_expand */
yasm_span *span; /* used only for check_cycle */
yasm_offset_setter *os;
yasm_section *sect; /* section line numbers are for */
yasm_symrec *sectsym; /* symbol for beginning of sect */
unsigned long num_linenums;
- STAILQ_HEAD(, cv8_lineset) linesets;
+ STAILQ_HEAD(cv8_lineset_head, cv8_lineset) linesets;
} cv8_lineinfo;
/* Symbols use a bit of meta-programming to encode formats: each character
yasm_linemap *linemap;
yasm_errwarns *errwarns;
unsigned int num_lineinfos;
- STAILQ_HEAD(, cv8_lineinfo) cv8_lineinfos;
+ STAILQ_HEAD(cv8_lineinfo_head, cv8_lineinfo) cv8_lineinfos;
/*@null@*/ cv8_lineinfo *cv8_cur_li;
/*@null@*/ cv8_lineset *cv8_cur_ls;
} cv_line_info;
return (yasm_objfmt *)objfmt_bin;
}
-typedef TAILQ_HEAD(, bin_group) bin_groups;
+typedef TAILQ_HEAD(bin_group_head, bin_group) bin_groups;
typedef struct bin_group {
TAILQ_ENTRY(bin_group) link;
yasm_preproc_base preproc; /* base structure */
/* List of arguments to pass to cpp. */
- TAILQ_HEAD(, cpp_arg_entry) cpp_args;
+ TAILQ_HEAD(cpp_arg_head, cpp_arg_entry) cpp_args;
char *filename;
FILE *f, *f_deps;