summaryrefslogtreecommitdiff
path: root/gcc/ada/lib-util.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/lib-util.adb')
-rw-r--r--gcc/ada/lib-util.adb13
1 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ada/lib-util.adb b/gcc/ada/lib-util.adb
index 64ddf1766c5..d67b8d0bf7d 100644
--- a/gcc/ada/lib-util.adb
+++ b/gcc/ada/lib-util.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2002 Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2007, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -25,7 +25,6 @@
------------------------------------------------------------------------------
with Hostparm;
-with Namet; use Namet;
with Osint.C; use Osint.C;
package body Lib.Util is
@@ -142,6 +141,16 @@ package body Lib.Util is
Info_Buffer_Col := Info_Buffer_Col + Name_Len;
end Write_Info_Name;
+ procedure Write_Info_Name (Name : File_Name_Type) is
+ begin
+ Write_Info_Name (Name_Id (Name));
+ end Write_Info_Name;
+
+ procedure Write_Info_Name (Name : Unit_Name_Type) is
+ begin
+ Write_Info_Name (Name_Id (Name));
+ end Write_Info_Name;
+
--------------------
-- Write_Info_Nat --
--------------------