From: Anton Blanchard Date: Fri, 12 Jul 2013 10:22:06 +0000 (+0200) Subject: powerpc: fix iflag build issue (static -> extern) X-Git-Tag: v4.9~198 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a34deadbb3419909d691de514a298f6b748f2d95;p=strace powerpc: fix iflag build issue (static -> extern) Signed-off-by: Anton Blanchard Signed-off-by: Denys Vlasenko --- diff --git a/defs.h b/defs.h index 64cfc8d9..6e0bd888 100644 --- a/defs.h +++ b/defs.h @@ -550,6 +550,7 @@ typedef enum { extern cflag_t cflag; extern bool debug_flag; extern bool Tflag; +extern bool iflag; extern unsigned int qflag; extern bool not_failing_only; extern bool show_fd_path; diff --git a/strace.c b/strace.c index 94706ad0..32a3f5e0 100644 --- a/strace.c +++ b/strace.c @@ -77,11 +77,11 @@ unsigned int xflag = 0; bool need_fork_exec_workarounds = 0; bool debug_flag = 0; bool Tflag = 0; +bool iflag = 0; unsigned int qflag = 0; /* Which WSTOPSIG(status) value marks syscall traps? */ static unsigned int syscall_trap_sig = SIGTRAP; static unsigned int tflag = 0; -static bool iflag = 0; static bool rflag = 0; static bool print_pid_pfx = 0;