summaryrefslogtreecommitdiff
path: root/perf/cairo-perf-compare-backends.c
diff options
context:
space:
mode:
authorM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2010-06-24 14:59:18 +0300
committerM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2010-06-24 15:02:53 +0300
commitb036a09972a19e63a85a4661a457525e2abe4026 (patch)
tree660c24352ee1e32b10556c3938bee09964d9a45a /perf/cairo-perf-compare-backends.c
parent616e35d1fae703dc118ce503d25d4f57cfd16dfd (diff)
downloadcairo-b036a09972a19e63a85a4661a457525e2abe4026.tar.gz
whitespace: Fixup formal arguments and tabs in boilerplate/ and perf/.
Ran a script to align the formal parameters of functions and collapse spaces to tabs in code.
Diffstat (limited to 'perf/cairo-perf-compare-backends.c')
-rw-r--r--perf/cairo-perf-compare-backends.c30
1 files changed, 17 insertions, 13 deletions
diff --git a/perf/cairo-perf-compare-backends.c b/perf/cairo-perf-compare-backends.c
index 277536e5e..6d8de26d5 100644
--- a/perf/cairo-perf-compare-backends.c
+++ b/perf/cairo-perf-compare-backends.c
@@ -24,7 +24,7 @@
* SOFTWARE.
*
* Authors: Carl Worth <cworth@cworth.org>
- * Chris Wilson <chris@chris-wilson.co.uk>
+ * Chris Wilson <chris@chris-wilson.co.uk>
*/
#include "cairo-perf.h"
@@ -50,7 +50,8 @@ typedef struct _cairo_perf_diff_files_args {
} cairo_perf_diff_files_args_t;
static int
-test_diff_cmp (const void *a, const void *b)
+test_diff_cmp (const void *a,
+ const void *b)
{
const test_diff_t *a_diff = a;
const test_diff_t *b_diff = b;
@@ -68,7 +69,9 @@ test_diff_cmp (const void *a, const void *b)
#define CHANGE_BAR_WIDTH 70
static void
-print_change_bar (double change, double max_change, int use_utf)
+print_change_bar (double change,
+ double max_change,
+ int use_utf)
{
int units_per_cell = (int) ceil (max_change / CHANGE_BAR_WIDTH);
static char const *ascii_boxes[8] = {
@@ -113,9 +116,9 @@ print_change_bar (double change, double max_change, int use_utf)
}
static void
-test_diff_print (test_diff_t *diff,
- double max_change,
- cairo_perf_report_options_t *options)
+test_diff_print (test_diff_t *diff,
+ double max_change,
+ cairo_perf_report_options_t *options)
{
int i;
double test_time;
@@ -149,9 +152,9 @@ test_diff_print (test_diff_t *diff,
#define MAX(a,b) ((a) > (b) ? (a) : (b))
static void
-cairo_perf_reports_compare (cairo_perf_report_t *reports,
- int num_reports,
- cairo_perf_report_options_t *options)
+cairo_perf_reports_compare (cairo_perf_report_t *reports,
+ int num_reports,
+ cairo_perf_report_options_t *options)
{
int i;
test_report_t **tests, *min_test;
@@ -309,9 +312,9 @@ usage (const char *argv0)
}
static void
-parse_args(int argc,
- char const **argv,
- cairo_perf_diff_files_args_t *args)
+parse_args (int argc,
+ char const **argv,
+ cairo_perf_diff_files_args_t *args)
{
int i;
@@ -346,7 +349,8 @@ parse_args(int argc,
}
int
-main (int argc, const char *argv[])
+main (int argc,
+ const char *argv[])
{
cairo_perf_diff_files_args_t args = {
NULL, /* filenames */