I expect that most of the `const` qualifiers can be omitted as the compiler can gather enough information about local variables to figure that out. The  `const void *` is new to me ;)