From ba1e8014aeaa91cf55dbd21931e3540b8468aceb Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Thu, 28 Jul 2016 10:28:29 +0200 Subject: [PATCH] isl_sample.c: sample_eq: add memory management annotations Signed-off-by: Sven Verdoolaege --- isl_sample.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/isl_sample.c b/isl_sample.c index a4c913ab..a255da18 100644 --- a/isl_sample.c +++ b/isl_sample.c @@ -119,8 +119,8 @@ error: * in the resulting bset, using the specified recurse function, * and then transform the sample back to the original space. */ -static struct isl_vec *sample_eq(struct isl_basic_set *bset, - struct isl_vec *(*recurse)(struct isl_basic_set *)) +static __isl_give isl_vec *sample_eq(__isl_take isl_basic_set *bset, + __isl_give isl_vec *(*recurse)(__isl_take isl_basic_set *)) { struct isl_mat *T; struct isl_vec *sample; -- 2.11.4.GIT