summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-12-08 11:27:06 -0600
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-10 07:40:55 -0500
commit4987623d011c534a22a490b17a8e0ec81d1ac30c (patch)
treee7ebe1f0ce90e43ad39d6dce196d80ba5596c415 /src
parent2d43b190901902dbd98ccea77c1d1ddc9e2a9955 (diff)
Bring bootchart code in line with CODING_STYLE
Use double and not float, as there is little to no benefit.
Diffstat (limited to 'src')
-rw-r--r--src/bootchart/svg.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bootchart/svg.c b/src/bootchart/svg.c
index 3a015cc334..97c8237aaa 100644
--- a/src/bootchart/svg.c
+++ b/src/bootchart/svg.c
@@ -68,16 +68,16 @@ static double idletime = -1.0;
static int pfiltered = 0;
static int pcount = 0;
static int kcount = 0;
-static float psize = 0;
-static float ksize = 0;
-static float esize = 0;
+static double psize = 0;
+static double ksize = 0;
+static double esize = 0;
static struct list_sample_data *sampledata;
static struct list_sample_data *prev_sampledata;
extern struct list_sample_data *head;
static void svg_header(void) {
- float w;
- float h;
+ double w;
+ double h;
struct list_sample_data *sampledata_last;
sampledata = head;