From 138d3fe4eb929a6db10af7f8501962a59465ac5f Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 8 Jul 2017 12:56:57 +0200 Subject: [PATCH] Add const to function definition. --- m-list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m-list.h b/m-list.h index c3eac510..a394b3d5 100644 --- a/m-list.h +++ b/m-list.h @@ -274,7 +274,7 @@ } \ \ static inline type * \ - M_C3(list_, name, _ref)(list_it_t v) \ + M_C3(list_, name, _ref)(const list_it_t v) \ { \ assert(v != NULL && v[0].l[0] != NULL); \ return &(v[0].l[0]->data); \