From 8b344e417e06f80a24bff9b6fadf4d82b54ab911 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Date: Thu, 4 Jun 2009 07:31:39 -0400 Subject: [PATCH] Rename PixmanTimer to pixman_timer_t --- pixman/pixman-private.h | 10 +++++----- pixman/pixman-timer.c | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h index 775def7..9d91889 100644 --- a/pixman/pixman-private.h +++ b/pixman/pixman-private.h @@ -784,23 +784,23 @@ oil_profile_stamp_rdtsc (void) } #define OIL_STAMP oil_profile_stamp_rdtsc -typedef struct PixmanTimer PixmanTimer; +typedef struct pixman_timer_t pixman_timer_t; -struct PixmanTimer +struct pixman_timer_t { int initialized; const char *name; uint64_t n_times; uint64_t total; - PixmanTimer *next; + pixman_timer_t *next; }; extern int timer_defined; -void pixman_timer_register (PixmanTimer *timer); +void pixman_timer_register (pixman_timer_t *timer); #define TIMER_BEGIN(tname) \ { \ - static PixmanTimer timer##tname; \ + static pixman_timer_t timer##tname; \ uint64_t begin##tname; \ \ if (!timer##tname.initialized) \ diff --git a/pixman/pixman-timer.c b/pixman/pixman-timer.c index 7742527..c995bbf 100644 --- a/pixman/pixman-timer.c +++ b/pixman/pixman-timer.c @@ -29,12 +29,12 @@ #ifdef PIXMAN_TIMERS -static PixmanTimer *timers; +static pixman_timer_t *timers; static void dump_timers (void) { - PixmanTimer *timer; + pixman_timer_t *timer; for (timer = timers; timer != NULL; timer = timer->next) { @@ -47,7 +47,7 @@ dump_timers (void) } void -pixman_timer_register (PixmanTimer *timer) +pixman_timer_register (pixman_timer_t *timer) { static int initialized; -- 2.7.4