Remove inline and register attributes from read.c