
Thread
2003.04.28 18:14 "Re: Coding style for libtiff?", by Sam Leffler
On Sun, Apr 27, 2003 at 08:15:24AM -0400, Tom Kacvinsky wrote:
But this brings up the point of the coding style for libtiff. Is there a "code
mom" that takes care of formatting of submitted patches, or is it up to the submitter of the patch to do the right formatting? Is there an indent style that the maintainers use? If so, let me know what it is and I can run indent
on my local code before running 'cvs diff -u'
Tom,
There isn't strong coding style in libtiff, but to be similar to other code you should use tabs (not spaces) for indentation. If you are using Vim you may aplly something like
The original code is KNF (Kernel Normal Form) with mixed-case variable names.
Sam