suppress some C compiler warnings about unused function arguments
clean up dependencies of memoryview utility code snippets a bit to get rid of some 'unused function' C compiler warnings