aboutsummaryrefslogtreecommitdiff
path: root/gdb/terminal.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2008-04-29 00:52:26 +0000
committerJoel Brobecker <brobecker@gnat.com>2008-04-29 00:52:26 +0000
commita0fe373c768a198d0eb78aecedcbe809708dc921 (patch)
tree18555f62897c6ba91110fd075921373ce338abea /gdb/terminal.h
parent007bcda18c0c4f95ab1e6f49c18220f8b35a7648 (diff)
downloadgdb-a0fe373c768a198d0eb78aecedcbe809708dc921.zip
gdb-a0fe373c768a198d0eb78aecedcbe809708dc921.tar.gz
gdb-a0fe373c768a198d0eb78aecedcbe809708dc921.tar.bz2
* terminal.h (create_tty_session): Fix return type.
Diffstat (limited to 'gdb/terminal.h')
-rw-r--r--gdb/terminal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/terminal.h b/gdb/terminal.h
index 743be6c..d7a6a9f 100644
--- a/gdb/terminal.h
+++ b/gdb/terminal.h
@@ -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. */