Skip to content

Commit

Permalink
fixup! Add CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
eepp committed Feb 20, 2016
1 parent 9bb7436 commit 2097284
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,8 @@ control. The upstream Git repository URL is:

## Coding standard

LTTng-UST uses the
[Linux kernel coding style](http://www.kernel.org/doc/Documentation/CodingStyle)
with one addition: single-line `if`/`for`/`while` statements must be
wrapped in braces.

Example:

~~~ c
/* not good */
if (this == that)
goto fail;

/* good */
if (this == that) {
goto fail;
}
~~~
LTTng-UST follows the
[Linux kernel coding style](http://www.kernel.org/doc/Documentation/CodingStyle).

Although the LTTng-UST code base is primarily written in C, it does
contain shell, Perl, and Python code as well. There is no official coding
Expand Down

1 comment on commit 2097284

@compudj
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merged with this fix applied. Thanks!

Please sign in to comment.