Rémi Bernon (@rbernon) commented about tools/widl/header.c:
} }
-static void write_header_stmts(FILE *header, const statement_list_t *stmts, const type_t *iface, int ignore_funcs) -{
- const statement_t *stmt;
- if (stmts) LIST_FOR_EACH_ENTRY( stmt, stmts, const statement_t, entry )
- {
- switch (stmt->type)
+static void write_header_stmts(FILE *header, const statement_list_t *stmts, const type_t *iface, int ignore_funcs);
+static void write_type(FILE *header, /*const */ type_t *type, bool is_defined)
Let's fix indentation (4 spaces) and style (as it seems we're adopting ntdll style with space in parentheses for new widl code) while we're moving things.