diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-03-08 18:58:08 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-03-08 18:58:08 +0100 |
commit | c170f3a41bc69ad1eab2dba40cede865f2532bbc (patch) | |
tree | 7c0d4b532f98122872dde4e5a4247848305d5888 /src/core/timer.c | |
parent | 5b3968b793d0a07e10df76b2fdb2081c34c22254 (diff) |
analyze: various cleanups
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
Diffstat (limited to 'src/core/timer.c')
0 files changed, 0 insertions, 0 deletions