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: Martin Storsjo <martin@martin.st> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b2d9d552c0
commit
d51c5723c3
|
@ -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)));
|
(!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))
|
if (type_is_alias(t))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in New Issue