diff options
author | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-05-20 07:10:41 +0000 |
---|---|---|
committer | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-05-20 07:10:41 +0000 |
commit | 063938a0b705201436f64fc7f4d90d0bffcc9772 (patch) | |
tree | f430e64710d3ff45dbb58e4b25e60adcece2fd9b /gcc/fixinc/procopen.c | |
parent | d77c0735f766fee662ed0c3baf55dfb251afd004 (diff) | |
download | gcc-063938a0b705201436f64fc7f4d90d0bffcc9772.tar.gz |
static initialization removal & K&R-ification
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27052 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc/procopen.c')
-rw-r--r-- | gcc/fixinc/procopen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/fixinc/procopen.c b/gcc/fixinc/procopen.c index 28004eed8a7..00f13b7ae97 100644 --- a/gcc/fixinc/procopen.c +++ b/gcc/fixinc/procopen.c @@ -104,10 +104,12 @@ chain_open (stdin_fd, pp_args, p_child) t_pchar *pp_args; pid_t *p_child; { - t_fd_pair stdout_pair = {-1, -1}; + t_fd_pair stdout_pair; pid_t ch_id; char *pz_cmd; + stdout_pair.read_fd = stdout_pair.write_fd = -1; + /* * Create a pipe it will be the child process' stdout, * and the parent will read from it. |