isl_sample.c: plug_in: add memory management annotations
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 28 Jul 2016 09:10:35 +0000 (28 11:10 +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_sample.c

index 5f13800..81c9e74 100644 (file)
@@ -672,8 +672,8 @@ error:
  * where [1 s] is the sample value and I is the identity matrix of the
  * appropriate dimension.
  */
-static struct isl_basic_set *plug_in(struct isl_basic_set *bset,
-       struct isl_vec *sample)
+static __isl_give isl_basic_set *plug_in(__isl_take isl_basic_set *bset,
+       __isl_take isl_vec *sample)
 {
        int i;
        unsigned total;