I can\'t figure out why I get this warning from clang by myself:
clang
function_prototype_const_modifier.c:13:8: warning: initializing \'char *\' with
You are pointing to the same area in memory, but not qualifying it as const as well, which the argument is.
const
You then allow the function body to modify that part of memory which is labelled const.