[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to use indent command to set type of a function declaration and its
From: |
MaYuming |
Subject: |
How to use indent command to set type of a function declaration and its name are at different lines? |
Date: |
Sun, 9 Dec 2018 15:36:17 +0800 |
Dear ALL.
I read the manPage of indent, but I can't find any options to meet my
needs.
For example, given the input
int foo(void);
Use indent the function declaration to expect the following output.
int
foo(
void
);
I can't any indent options to set "int" and "foo" are at different lines.
The "psl" option is only available for a function implementation and not for
function declarations.
Please help me with this problem, thank you in advance!!!
BR,
Yuming.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- How to use indent command to set type of a function declaration and its name are at different lines?,
MaYuming <=