osint.adb: Add use type clause for CRTL.size_t.
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 30 Nov 2015 11:59:09 +0000 (11:59 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 30 Nov 2015 11:59:09 +0000 (11:59 +0000)
commit4f852a1affeb624889e71701bf80f47a08e02361
tree37fbde562366c9bfedea43f92975a43268784e0d
parent2056c5ede5306b0a0ad948d8409c5f7484ee65bf
osint.adb: Add use type clause for CRTL.size_t.

* osint.adb: Add use type clause for CRTL.size_t.
(C_String_Length): Return CRTL.size_t instead of Integer.
(To_Path_String_Access): Take CRTL.size_t instead of Integer.
(Get_Libraries_From_Registry): Use CRTL throughout.
(To_Canonical_Dir_Spec): Use CRTL.size_t instead of Integer.
(To_Canonical_File_List): Likewise.
(To_Canonical_File_Spec): Likewise.
(To_Canonical_Path_Spec): Likewise.
(To_Host_Dir_Spec): Likewise.
(To_Host_File_Spec): Likewise.
(Update_Path): Use CRTL throughout.
* s-shasto.adb: Add with clause for System.CRTL.
(Initialize): Rename CRTL.strncpy instead of importing it manually.

From-SVN: r231066
gcc/ada/ChangeLog
gcc/ada/osint.adb
gcc/ada/s-shasto.adb