diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-02-14 16:57:29 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-02-14 16:57:29 +0000 |
commit | f82ed5d6a50e95cfb9761829b63b65bcede5d2d1 (patch) | |
tree | 3e1c5ffa60bf5ca5b6951d9acd0fe4211703600d /gdb/inflow.c | |
parent | fc8761e985821064df9cf08f9796974a11939157 (diff) | |
download | gdb-f82ed5d6a50e95cfb9761829b63b65bcede5d2d1.tar.gz |
* inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
declare when have SIGTTOU.
Diffstat (limited to 'gdb/inflow.c')
-rw-r--r-- | gdb/inflow.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/inflow.c b/gdb/inflow.c index 4f751e8bed9..2517f97e9cc 100644 --- a/gdb/inflow.c +++ b/gdb/inflow.c @@ -317,9 +317,11 @@ terminal_ours_1 (int output_only) if (!terminal_is_ours) { +#ifdef SIGTTOU /* Ignore this signal since it will happen when we try to set the pgrp. */ - void (*osigttou) (); + void (*osigttou) () = NULL; +#endif int result; terminal_is_ours = 1; |