From 598fc4e2d571d05e51479c9448c495682bb275e2 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sat, 24 Jun 2023 15:36:25 -0700 Subject: til_fb: trivial struct indentation fixup I think this got messed up in the shift to libtil --- src/til_fb.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/til_fb.c b/src/til_fb.c index a6bdf69..fd008ca 100644 --- a/src/til_fb.c +++ b/src/til_fb.c @@ -120,25 +120,25 @@ struct _til_fb_page_t { typedef struct til_fb_t { const til_fb_ops_t *ops; - void *ops_context; - int n_pages; + void *ops_context; + int n_pages; - pthread_mutex_t rebuild_mutex; - int rebuild_pages; /* counter of pages needing a rebuild */ + pthread_mutex_t rebuild_mutex; + int rebuild_pages; /* counter of pages needing a rebuild */ - _til_fb_page_t *active_page; /* page currently displayed */ + _til_fb_page_t *active_page; /* page currently displayed */ - pthread_mutex_t ready_mutex; - pthread_cond_t ready_cond; - _til_fb_page_t *ready_pages_head; /* next pages to flip to */ - _til_fb_page_t *ready_pages_tail; + pthread_mutex_t ready_mutex; + pthread_cond_t ready_cond; + _til_fb_page_t *ready_pages_head; /* next pages to flip to */ + _til_fb_page_t *ready_pages_tail; - pthread_mutex_t inactive_mutex; - pthread_cond_t inactive_cond; - _til_fb_page_t *inactive_pages_head; /* finished pages available for (re)use */ - _til_fb_page_t *inactive_pages_tail; + pthread_mutex_t inactive_mutex; + pthread_cond_t inactive_cond; + _til_fb_page_t *inactive_pages_head; /* finished pages available for (re)use */ + _til_fb_page_t *inactive_pages_tail; - unsigned put_pages_count; + unsigned put_pages_count; } til_fb_t; #ifndef container_of -- cgit v1.2.3