summaryrefslogtreecommitdiff
path: root/src/til_fb.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-06-24 15:36:25 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-06-24 15:36:25 -0700
commit598fc4e2d571d05e51479c9448c495682bb275e2 (patch)
tree6fc6f5d52ba186e5bfa039be5a7c0b90ea5c05ca /src/til_fb.c
parentd4b365a514e08bddbcf503d2604a47f4d163d3a9 (diff)
til_fb: trivial struct indentation fixup
I think this got messed up in the shift to libtil
Diffstat (limited to 'src/til_fb.c')
-rw-r--r--src/til_fb.c28
1 files 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
© All Rights Reserved