1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-11 05:17:44 +03:00

Bring bootchart code in line with CODING_STYLE

Use double and not float, as there is little to no benefit.
This commit is contained in:
Dan McGee 2013-12-08 11:27:06 -06:00 committed by Zbigniew Jędrzejewski-Szmek
parent 2d43b19090
commit 4987623d01

View File

@ -68,16 +68,16 @@ static double idletime = -1.0;
static int pfiltered = 0; static int pfiltered = 0;
static int pcount = 0; static int pcount = 0;
static int kcount = 0; static int kcount = 0;
static float psize = 0; static double psize = 0;
static float ksize = 0; static double ksize = 0;
static float esize = 0; static double esize = 0;
static struct list_sample_data *sampledata; static struct list_sample_data *sampledata;
static struct list_sample_data *prev_sampledata; static struct list_sample_data *prev_sampledata;
extern struct list_sample_data *head; extern struct list_sample_data *head;
static void svg_header(void) { static void svg_header(void) {
float w; double w;
float h; double h;
struct list_sample_data *sampledata_last; struct list_sample_data *sampledata_last;
sampledata = head; sampledata = head;