diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2006-10-08 05:32:07 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-10-08 05:32:07 +0000 |
commit | 241ff0b6bd15f079ce58635bca921395db8f0bb4 (patch) | |
tree | a12d64f8c34af754b7371aa9f663526d6eb669fe /gdk-pixbuf/pixops/timescale.c | |
parent | 07e7719441f5927bc3c482717fc53f8529186e3a (diff) | |
download | gtk+-241ff0b6bd15f079ce58635bca921395db8f0bb4.tar.gz |
Cleanups
Diffstat (limited to 'gdk-pixbuf/pixops/timescale.c')
-rw-r--r-- | gdk-pixbuf/pixops/timescale.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gdk-pixbuf/pixops/timescale.c b/gdk-pixbuf/pixops/timescale.c index 945cf8003e..b02bc3e31f 100644 --- a/gdk-pixbuf/pixops/timescale.c +++ b/gdk-pixbuf/pixops/timescale.c @@ -26,12 +26,13 @@ static GTimeVal start_time; -void start_timing (void) +static void +start_timing (void) { g_get_current_time (&start_time); } -double +static double stop_timing (const char *test, int iterations, int bytes) { GTimeVal stop_time; @@ -53,7 +54,7 @@ stop_timing (const char *test, int iterations, int bytes) return ((double)bytes * iterations) / (1000*msecs); } -void +static void init_array (double times[3][3][4]) { int i, j, k; @@ -64,7 +65,7 @@ init_array (double times[3][3][4]) times[i][j][k] = -1; } -void +static void dump_array (double times[3][3][4]) { int i, j; |