aboutsummaryrefslogtreecommitdiff
path: root/services/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'services/view.h')
-rw-r--r--services/view.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/services/view.h b/services/view.h
index f64b2461e305..ce4b69d6c510 100644
--- a/services/view.h
+++ b/services/view.h
@@ -54,9 +54,9 @@ struct config_view;
*/
struct views {
/** lock on the view tree */
- lock_rw_t lock;
+ lock_rw_type lock;
/** rbtree of struct view */
- rbtree_t vtree;
+ rbtree_type vtree;
};
/**
@@ -64,7 +64,7 @@ struct views {
*/
struct view {
/** rbtree node, key is name */
- rbnode_t node;
+ rbnode_type node;
/** view name.
* Has to be right after rbnode_t due to pointer arithmatic in
* view_create's lock protect */
@@ -75,10 +75,9 @@ struct view {
* specific tree. 1 for yes, 0 for no */
int isfirst;
/** lock on the data in the structure
- * For the node and name you
- * need to also hold the views_tree lock to change them (or to
- * delete this view) */
- lock_rw_t lock;
+ * For the node and name you need to also hold the views_tree lock to
+ * change them. */
+ lock_rw_type lock;
};