Index: trunk/doc/developer/indent.html =================================================================== --- trunk/doc/developer/indent.html (revision 14244) +++ trunk/doc/developer/indent.html (revision 14245) @@ -13,6 +13,18 @@ to svn. The style of existing code lines should not be changed, not even the "sorrunding" lines to a largish patch, especially not in the same patch/commit with actual code changes. +

+We do not put space between the pointer-asterisk and name; indent(1) +unfortunately does this in function delcaration: + +wrong + +
right
int foo(char *bar); + int foo(char * bar); +
+

+We have a patch against indent 2.2.11 to +fix this. Index: trunk/doc/developer/indent_fdecl.patch =================================================================== --- trunk/doc/developer/indent_fdecl.patch (nonexistent) +++ trunk/doc/developer/indent_fdecl.patch (revision 14245) @@ -0,0 +1,17 @@ +diff -uri indent-2.2.11.orig/src/handletoken.c indent-2.2.11/src/handletoken.c +--- indent-2.2.11.orig/src/handletoken.c 2018-01-26 13:45:48.477640023 +0100 ++++ indent-2.2.11/src/handletoken.c 2018-01-26 14:23:38.923255546 +0100 +@@ -677,8 +677,11 @@ + + } + #endif +- +- parser_state_tos->want_blank = true; ++ if (parser_state_tos->in_decl) ++ parser_state_tos->want_blank = false; ++ else ++ parser_state_tos->want_blank = true; ++ + } + + /**