Commit d51c5723 authored by Martin Storsjo's avatar Martin Storsjo Committed by Alexandre Julliard

widl: Make decl_needs_parens static.

This function lacks a declaration in header.h and isn't used outside of this source file. This fixes warnings about missing a prototype, when built as part of mingw-w64-tools (where it is built with -Wmissing-prototypes). Signed-off-by: 's avatarMartin Storsjo <martin@martin.st> Signed-off-by: 's avatarJacek Caban <jacek@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent b2d9d552
......@@ -283,7 +283,7 @@ int needs_space_after(type_t *t)
(!is_ptr(t) && (!is_array(t) || !type_array_is_decl_as_ptr(t) || t->name)));
}
int decl_needs_parens(const type_t *t)
static int decl_needs_parens(const type_t *t)
{
if (type_is_alias(t))
return FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment