diff options
author | Peter Johnson <peter@tortall.net> | 2010-01-03 01:04:18 +0000 |
---|---|---|
committer | Peter Johnson <peter@tortall.net> | 2010-01-03 01:04:18 +0000 |
commit | 5501768adbef05e82ffb5b62a0fc40a702b3f49a (patch) | |
tree | 23558296b485f24fe4b8b40e49f89347385b44cb /modules/dbgfmts | |
parent | 40f06c127537be8d72cadcf6e7ada96e493cf345 (diff) | |
download | yasm-5501768adbef05e82ffb5b62a0fc40a702b3f49a.tar.gz |
Use queue.h HEAD macros more portably (also avoiding compiler warning).
svn path=/trunk/yasm/; revision=2258
Diffstat (limited to 'modules/dbgfmts')
-rw-r--r-- | modules/dbgfmts/codeview/cv-symline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/dbgfmts/codeview/cv-symline.c b/modules/dbgfmts/codeview/cv-symline.c index 0a806226..1996c33a 100644 --- a/modules/dbgfmts/codeview/cv-symline.c +++ b/modules/dbgfmts/codeview/cv-symline.c @@ -134,7 +134,7 @@ typedef struct cv8_lineinfo { 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 @@ -419,7 +419,7 @@ typedef struct cv_line_info { 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; |