Skip to content

Commit c7e5fe7

Browse files
stefanbellergitster
authored andcommitted
strbuf.h: format according to coding guidelines
The previous patch suggested the strbuf header to be the leading example of how we would want our APIs to be documented. This may lead to some scrutiny of that code and the coding style (which is different from the API documentation style) and hence might be taken as an example on how to format code as well. So let's format strbuf.h in a way that we'd like to see: * omit the extern keyword from function declarations * name all parameters (usually the parameters are obvious from its type, but consider exceptions like `int strbuf_getwholeline_fd(struct strbuf *, int, int);` * break overly long lines Signed-off-by: Stefan Beller <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1d4361b commit c7e5fe7

File tree

1 file changed

+81
-67
lines changed

1 file changed

+81
-67
lines changed

0 commit comments

Comments
 (0)