diff --git a/src/list.c b/src/list.c index 11482e9..d614c27 100644 --- a/src/list.c +++ b/src/list.c @@ -21,7 +21,7 @@ void deInitList(List *restrict l) { free(l->list); } -int addToList(List *restrict l, mpz_t n) { +int addToList(List *l, mpz_t n) { if(l->end == l->size) { l->size += BLOCK_SIZE; void *tmp = realloc(l->list, sizeof(mpz_t) * l->size); diff --git a/src/list.h b/src/list.h index e38a680..b8fa1a6 100644 --- a/src/list.h +++ b/src/list.h @@ -40,4 +40,4 @@ void deInitList(List *restrict l); * @param[in] n variable to be appended to the list. * @returns Returns 0 if successful and 1 if failed. */ -int addToList(List *restrict l, mpz_t n); +int addToList(List *l, mpz_t n);