chiark / gitweb /
bootchart: assorted coding style fixes
authorDaniel Mack <daniel@zonque.org>
Thu, 2 Apr 2015 22:40:01 +0000 (00:40 +0200)
committerDaniel Mack <daniel@zonque.org>
Fri, 3 Apr 2015 13:29:18 +0000 (15:29 +0200)
commitaf672f03eccd2df655edb585af25f4b8f3e153ac
treea29670bc655464f71c412d70f7996d55b8b43d9f
parent1f2ecb0393bf071fcd476300e0b3f94726b01b15
bootchart: assorted coding style fixes

* kill unnecessary {}
* add newlines where appropriate
* remove dead code
* reorder variable declarations
* fix more return code logic
* pass O_CLOEXEC to all open*() calles
* use safe_close() where possible
src/bootchart/bootchart.c
src/bootchart/store.c
src/bootchart/svg.c