isl_convex_hull.c: wrap_constraints: add memory management annotations
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 27 Jul 2016 10:52:09 +0000 (27 12:52 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 24 Apr 2017 11:38:33 +0000 (24 13:38 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_convex_hull.c

index 8024221..50e4b82 100644 (file)
@@ -219,7 +219,7 @@ error:
  *
  *                     \sum_i x_{i,1} = 1
  */
-static struct isl_basic_set *wrap_constraints(struct isl_set *set)
+static __isl_give isl_basic_set *wrap_constraints(__isl_keep isl_set *set)
 {
        struct isl_basic_set *lp;
        unsigned n_eq;