Invalid declaration of nrf_log_push

nrf_log_push is declared as

char const * nrf_log_push(char * const p_str);

I think the const in the parameter should be before the pointer not after it? const-qualifying a parameter (as opposed to the chars pointed to) does not have an effect in the function declaration.

nRF5 SDK 16.0.0