tools/nxstyle: fix nxstyle check for pointer to function types
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
parent
510154299b
commit
298c372afa
@ -2469,7 +2469,7 @@ int main(int argc, char **argv, char **envp)
|
||||
{
|
||||
/* REVISIT: This gives false alarms on syntax like *--ptr */
|
||||
|
||||
if (line[n - 1] != ' ')
|
||||
if (line[n - 1] != ' ' && line[n - 1] != '(')
|
||||
{
|
||||
ERROR("Operator/assignment must be preceded "
|
||||
"with whitespace", lineno, n);
|
||||
|
Loading…
Reference in New Issue
Block a user