diff options
Diffstat (limited to 'libyasm')
-rw-r--r-- | libyasm/file.c | 2 | ||||
-rw-r--r-- | libyasm/inttree.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/libyasm/file.c b/libyasm/file.c index fa225af0..128934a8 100644 --- a/libyasm/file.c +++ b/libyasm/file.c @@ -455,7 +455,7 @@ typedef struct incpath { /*@owned@*/ char *path; } incpath; -STAILQ_HEAD(, incpath) incpaths = STAILQ_HEAD_INITIALIZER(incpaths); +STAILQ_HEAD(incpath_head, incpath) incpaths = STAILQ_HEAD_INITIALIZER(incpaths); FILE * yasm_fopen_include(const char *iname, const char *from, const char *mode, diff --git a/libyasm/inttree.c b/libyasm/inttree.c index 382a5981..a7739fb1 100644 --- a/libyasm/inttree.c +++ b/libyasm/inttree.c @@ -492,7 +492,8 @@ void IT_destroy(IntervalTree *it) { IntervalTreeNode *x = it->root->left; - SLIST_HEAD(, nodeent) stuffToFree = SLIST_HEAD_INITIALIZER(stuffToFree); + SLIST_HEAD(node_head, nodeent) + stuffToFree = SLIST_HEAD_INITIALIZER(stuffToFree); struct nodeent { SLIST_ENTRY(nodeent) link; struct IntervalTreeNode *node; |