From 87cc5fe2348d9b0d9102273fa0253cd474672e9c Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sat, 25 Jan 2020 17:45:32 -0800 Subject: rototiller: s/t_offset/ticks_offset/g Make naming consistent --- src/rototiller.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/rototiller.c b/src/rototiller.c index d2dce75..0473ee3 100644 --- a/src/rototiller.c +++ b/src/rototiller.c @@ -76,7 +76,7 @@ typedef struct rototiller_t { pthread_t thread; fb_t *fb; struct timeval start_tv; - unsigned t_offset; + unsigned ticks_offset; } rototiller_t; static rototiller_t rototiller; @@ -396,7 +396,7 @@ static void * rototiller_thread(void *_rt) page = fb_page_get(rt->fb); gettimeofday(&now, NULL); - ticks = get_ticks(&rt->start_tv, &now, rt->t_offset); + ticks = get_ticks(&rt->start_tv, &now, rt->ticks_offset); module_render_fragment(rt->module, rt->module_context, rt->threads, ticks, &page->fragment); @@ -447,7 +447,7 @@ int main(int argc, const char *argv[]) !(rototiller.module_context = rototiller.module->create_context( get_ticks(&rototiller.start_tv, &rototiller.start_tv, - rototiller.t_offset), + rototiller.ticks_offset), threads_num_threads(rototiller.threads))), "unable to create module context"); -- cgit v1.2.3