summaryrefslogtreecommitdiff
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
commitaa36eafa4543ba4532b36b0afc285bbb2466d087 (patch)
tree53f28305fed5dd95a1abfac3b0049b86323efa37
parentb912f8cb0412a58cf36b985134134696a40a7300 (diff)
downloadgdb-aa36eafa4543ba4532b36b0afc285bbb2466d087.tar.gz
* terminal.h (create_tty_session): Fix return type.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/terminal.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e58d0c27340..016a213f119 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-28 Joel Brobecker <brobecker@adacore.com>
+
+ * terminal.h (create_tty_session): Fix return type.
+
2008-04-26 Vladimir Prus <vladimir@codesourcery.com>
* mi/mi-interp.c (mi_new_thread): Quote the thread id.
diff --git a/gdb/terminal.h b/gdb/terminal.h
index 743be6c1dc0..d7a6a9f0524 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. */