summaryrefslogtreecommitdiff
path: root/CODING_STYLE
Commit message (Collapse)AuthorAgeFilesLines
* extend CODING_STYLE document a bitLennart Poettering2013-12-091-17/+63
|
* trivial coding style clean upsThomas Hindoe Paaboel Andersen2013-12-031-1/+1
| | | | | | | | | | | | | | - Add space between if/for and the opening parentheses - Place the opening brace on same line as the function (not for udev) From the CODING_STYLE Try to use this: void foo() { } instead of this: void foo() { }
* analyze: various cleanupsLennart Poettering2013-03-081-9/+105
| | | | | | | | | | | | | | | | | | Update systemd-analyze to follow the coding style of the other tools more closely. Also, update the CODING_STYLE to document this for future additions. Changes: - Always use usec_t for time units, so that we always use the same types everywhere, and format times the same way as everywhere else. - Add "static" to global variables - Make sure we can always distuingish OOM and other errors: ensure we always return useful error codes from all functions. - Always free unit_times array
* Clarify sentenceTollef Fog Heen2013-01-291-1/+1
|
* Minor typoTollef Fog Heen2012-10-011-1/+1
|
* Be consistent about "." vs no "." at the end of lines"Tollef Fog Heen2012-10-011-4/+4
|
* Spelling CorrectionsHarald Hoyer2011-02-281-1/+1
| | | | Just some lame spelling corrections with no functionality.
* CODING_STYLE: minor updatesLennart Poettering2010-02-141-0/+11
|
* CODING_STYLE: add missing -Lennart Poettering2009-11-181-1/+1
|
* initial commitLennart Poettering2009-11-181-0/+16