Ignore second __darwin_va_list.  Format the file.
@@ -5846,6 +5846,10 @@ static void def_symbol (c2m_ctx_t c2m_ctx, enum symbol_mode mode, node_t id, nod
if (linkage == N_IGNORE) {
if (!decl_spec.typedef_p || !tab_decl_spec.typedef_p
|| !type_eq_p (decl_spec.type, tab_decl_spec.type))
+#ifdef __APPLE__
+ /* a hack to use our definition instead of macosx for non-GNU compiler */
+ if (strcmp (id->u.s.s, "__darwin_va_list") != 0)
+#endif
error (c2m_ctx, id->pos, "repeated declaration %s", id->u.s.s);
} else if (!compatible_types_p (decl_spec.type, tab_decl_spec.type, FALSE)) {
error (c2m_ctx, id->pos, "incompatible types of %s declarations", id->u.s.s);
