[commit] fix return type for terminal.h:create_tty_session
Joel Brobecker
brobecker@adacore.com
Tue Apr 29 03:14:00 GMT 2008
Hello,
There was a discrepancy in the return type between the declaration
and the actual implementation, and this caused a build failure on
sparc-solaris. Fixed thusly
2008-04-28 Joel Brobecker <brobecker@adacore.com>
* terminal.h (create_tty_session): Fix return type.
Checked in.
--
Joel
-------------- next part --------------
Index: terminal.h
===================================================================
--- terminal.h (revision 130301)
+++ terminal.h (revision 130302)
@@ -82,7 +82,7 @@ extern void new_tty (void);
a given run of GDB. In inflow.c. */
extern int job_control;
-extern int create_tty_session (void);
+extern pid_t create_tty_session (void);
/* Set the process group of the caller to its own pid, or do nothing if
we lack job control. */
More information about the Gdb-patches
mailing list