ada: Clean up unnecessary nesting in code for DLL libraries
authorPiotr Trojanek <trojanek@adacore.com>
Fri, 14 Oct 2022 10:17:30 +0000 (12:17 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 7 Nov 2022 08:36:33 +0000 (09:36 +0100)
commit90908af3f8648567f1027260d38e5979e45066a3
treef6db4604689e626deee493d63b3a7e6bce215300
parent981848b598c8a35a76c7fc226ac07852d9061f43
ada: Clean up unnecessary nesting in code for DLL libraries

Code cleanup; issue spotted while examining routines with No_ prefix.

gcc/ada/

* mdll.ads (Build_Import_Library): Fix grammar in comment.
* mdll.adb (Build_Import_Library): Directly execute code of a
nested routine; rename No_Lib_Prefix to Strip_Lib_Prefix.
gcc/ada/mdll.adb
gcc/ada/mdll.ads