X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=anykey.c;h=f0ab52efe6548a9654822781670acd4ab80d046d;hp=be16ff11a37fa6895a4385d93665f890f2cb8b4e;hb=9720f23aba9333a5bbbc6f7bb10cd07ff8734de6;hpb=43e5747a59ed92243c217f7e36da2ac35bbcd80d diff --git a/anykey.c b/anykey.c index be16ff1..f0ab52e 100644 --- a/anykey.c +++ b/anykey.c @@ -30,10 +30,10 @@ #include "sigrok-cli.h" #ifdef _WIN32 -HANDLE stdin_handle; -DWORD stdin_mode; +static HANDLE stdin_handle; +static DWORD stdin_mode; #else -struct termios term_orig; +static struct termios term_orig; #endif static int received_anykey(int fd, int revents, void *user_data)