X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fjtag%2Faice%2Faice_pipe.c;h=5a8cbab78cb73553ed3fb9610388bae5a3f18bea;hp=bdc8c090a5a22b5489eab01f7c4d7ffa9fb79790;hb=87c90393fedc8bb278d189aa53bcd93f4892012b;hpb=47b8cf84202bf792cf66fbfa01169e9592236b8a diff --git a/src/jtag/aice/aice_pipe.c b/src/jtag/aice/aice_pipe.c index bdc8c090a5..5a8cbab78c 100644 --- a/src/jtag/aice/aice_pipe.c +++ b/src/jtag/aice/aice_pipe.c @@ -19,6 +19,8 @@ #include "config.h" #endif +#include + #ifdef _WIN32 #include #else @@ -35,8 +37,8 @@ #ifdef _WIN32 PROCESS_INFORMATION proc_info; -HANDLE aice_pipe_output[2]; -HANDLE aice_pipe_input[2]; +static HANDLE aice_pipe_output[2]; +static HANDLE aice_pipe_input[2]; static int aice_pipe_write(const void *buffer, int count) { @@ -158,8 +160,8 @@ static int aice_pipe_open(struct aice_port_param_s *param) #else -int aice_pipe_output[2]; -int aice_pipe_input[2]; +static int aice_pipe_output[2]; +static int aice_pipe_input[2]; static int aice_pipe_write(const void *buffer, int count) {