src: delete er.c