I often see the following function declaration:
some_func(const unsigned char * const buffer) { }
Any idea why the const is repeated before th
This makes it a const pointer to a const value, rather than a mutable pointer to a const value or a const pointer to a mutable value.