remove cruft for libc struct accessor function and broken visibility