From b841df7954ad31383688775114132af73b7693d4 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 7 Jun 2002 01:37:20 +0000 Subject: * strace.cc (main): Make toggle a local variable. --- winsup/utils/strace.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/utils/strace.cc') diff --git a/winsup/utils/strace.cc b/winsup/utils/strace.cc index 42d2fef59..69a7fa807 100644 --- a/winsup/utils/strace.cc +++ b/winsup/utils/strace.cc @@ -43,7 +43,6 @@ static int numerror = 1; static int usecs = 1; static int delta = 1; static int hhmmss = 0; -static int toggle = 0; static int bufsize = 0; static int new_window = 0; static long flush_period = 0; @@ -898,6 +897,7 @@ main (int argc, char **argv) FILE *ofile = NULL; pid_t pid = 0; int opt; + int toggle = 0; if (!(pgm = strrchr (*argv, '\\')) && !(pgm = strrchr (*argv, '/'))) pgm = *argv; -- cgit v1.2.3