From 361b5e7d80673e7d3613cfdf989449013bf109a0 Mon Sep 17 00:00:00 2001 From: Rob Herring Date: Tue, 11 Sep 2018 15:41:30 -0500 Subject: Make type_marker_length helper public Make type_marker_length available to other users of TYPE_* markers. Signed-off-by: Rob Herring Signed-off-by: David Gibson --- dtc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dtc.h') diff --git a/dtc.h b/dtc.h index 51c03ef..bb769d2 100644 --- a/dtc.h +++ b/dtc.h @@ -108,6 +108,8 @@ struct data { for_each_marker(m) \ if ((m)->type == (t)) +size_t type_marker_length(struct marker *m); + void data_free(struct data d); struct data data_grow_for(struct data d, int xlen); -- cgit v1.2.1