Remove stubs.h
First attempt: change char * to const char * for lookups from tdata.{c,h}