summaryrefslogtreecommitdiff
path: root/gcc/ada/osint-c.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-20 10:41:25 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-20 10:41:25 +0000
commit60ca8da9bac8217dd8cf253418650878c47b8af5 (patch)
treee668c89aa3f9087dd5b3d22630f97376345fb69c /gcc/ada/osint-c.ads
parent2dcc34c1a6d129503d5c0ea6b1af7dd54bb5dc14 (diff)
downloadgcc-60ca8da9bac8217dd8cf253418650878c47b8af5.tar.gz
2009-04-20 Gary Dismukes <dismukes@adacore.com>
* osint-c.ads, osint-c.adb (Get_Object_Output_File_Name): New function to return the object file name saved by Set_Object_Output_File_Name. 2009-04-20 Emmanuel Briot <briot@adacore.com> * g-comlin.adb (Initialize_Option_Scan): Fix initialization of parsers for the standard command line, when argc has been modified since the start of the application. 2009-04-20 Thomas Quinot <quinot@adacore.com> * socket.c (__gnat_inet_pton, Windows case): Adjust return value. WSAStringToAddress returns 0 for success and SOCKET_ERROR for failure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146395 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/osint-c.ads')
-rw-r--r--gcc/ada/osint-c.ads4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ada/osint-c.ads b/gcc/ada/osint-c.ads
index 3c9cb69d378..1060934f79c 100644
--- a/gcc/ada/osint-c.ads
+++ b/gcc/ada/osint-c.ads
@@ -32,6 +32,10 @@ package Osint.C is
-- Called by the subprogram processing the command line when an
-- output object file name is found.
+ function Get_Output_Object_File_Name return String;
+ -- Returns the name of the output object file as saved by a call to
+ -- Set_Output_Object_File_Name. Only valid to call if name has been set.
+
function More_Source_Files return Boolean;
-- Indicates whether more source file remain to be processed. Returns
-- False right away if no source files, or if all source files have