> gcc/ada/ChangeLog: > > * adadecode.c (has_prefix): Remove has_prefix and replace it > with startswith. > (__gnat_decode): Likewise.
This change is not OK: adadecode.c is also a runtime file and as such cannot include compiler include files. > * gcc-interface/utils.c (def_builtin_1): Use startswith > function instead of strncmp. > * init.c (__gnat_install_handler): Likewise. Same for init.c which is both a host and a runtime/target file. Only the change in utils.c is OK. Arno