src/list.c

changeset 253
e19825a1430a
parent 251
fae240d633fc
child 259
2f5dea574a75
     1.1 --- a/src/list.c	Wed Oct 18 12:03:44 2017 +0200
     1.2 +++ b/src/list.c	Wed Oct 18 14:23:57 2017 +0200
     1.3 @@ -241,7 +241,7 @@
     1.4  }
     1.5  
     1.6  static UcxList *ucx_list_sort_merge(int length,
     1.7 -        UcxList* restrict ls, UcxList* restrict le, UcxList* restrict re,
     1.8 +        UcxList* ls, UcxList* le, UcxList* re,
     1.9          cmp_func fnc, void* data) {
    1.10  
    1.11      UcxList** sorted = (UcxList**) malloc(sizeof(UcxList*)*length);
    1.12 @@ -291,7 +291,7 @@
    1.13      UcxList *lc;
    1.14      int ln = 1;
    1.15  
    1.16 -    UcxList *restrict ls = l, *restrict le, *restrict re;
    1.17 +    UcxList *ls = l, *le, *re;
    1.18      
    1.19      // check how many elements are already sorted
    1.20      lc = ls;

mercurial