Pointer to array syntax such as int (*array)[10] is not supported for function parameters.
For example, the following code throws the following warnings, indicating that the parameter listint_t *(*buckets)[10] is not parsed correctly.
/**
* alloc_buckets - dynamically allocate buckets for each digit
*
* @array: array of integers to be sorted
* @size: number of elements in the array to be sorted
* @factor: factor of digit on which to sort
* @buckets: pointer to array of pointers to buckets
*/
static void alloc_buckets(const int *array, size_t size, int factor, listint_t *(*buckets)[10])
105-radix_sort.c:81: warning: No description found for parameter or member '(*buckets'
105-radix_sort.c:82: warning: Excess function parameter 'buckets' description in 'alloc_buckets'
Pointer to array syntax such as
int (*array)[10]
is not supported for function parameters.For example, the following code throws the following warnings, indicating that the parameter
listint_t *(*buckets)[10]
is not parsed correctly.