--- src/glsl/list.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/glsl/list.h b/src/glsl/list.h index 803aab5..576bc14 100644 --- a/src/glsl/list.h +++ b/src/glsl/list.h @@ -129,6 +129,13 @@ struct exec_node { #endif }; +static inline void +exec_node_init(struct exec_node *n) +{ + n->next = NULL; + n->prev = NULL; +} + static inline const struct exec_node * exec_node_get_next_const(const struct exec_node *n) { -- 1.8.3.2
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev