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 | 4b69c284e7a6d448ba1a0416a291df191835fd48 (patch) | |
tree | 366fde734c80cf8deaf052c9cc7c0c6de880a367 /gdb/inflow.c | |
parent | 407443a31c6523427f8c252378d95dcd04c68678 (diff) | |
download | fsf-binutils-gdb-4b69c284e7a6d448ba1a0416a291df191835fd48.zip fsf-binutils-gdb-4b69c284e7a6d448ba1a0416a291df191835fd48.tar.gz fsf-binutils-gdb-4b69c284e7a6d448ba1a0416a291df191835fd48.tar.bz2 |
* 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 4f751e8..2517f97 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; |