chiark / gitweb /
bootchart: kill a bunch of global variables
authorDaniel Mack <daniel@zonque.org>
Thu, 2 Apr 2015 13:15:43 +0000 (15:15 +0200)
committerDaniel Mack <daniel@zonque.org>
Fri, 3 Apr 2015 13:29:18 +0000 (15:29 +0200)
commit1f2ecb0393bf071fcd476300e0b3f94726b01b15
tree8aaee7d724db8cc55139b9779354d3c4458a09f7
parentf91781329c6d8a760e3c1b88b66b0e2137c2e5ab
bootchart: kill a bunch of global variables

This code is in a confusingly bad shape. Kill a bunch of global variables
and pass needed variables around in function calls.
src/bootchart/bootchart.c
src/bootchart/bootchart.h
src/bootchart/store.c
src/bootchart/store.h
src/bootchart/svg.c
src/bootchart/svg.h