modify xfile.h and xgl.h func names.