cli: minor code cleanups
[sigrok-cli.git] / anykey.c
index be16ff11a37fa6895a4385d93665f890f2cb8b4e..f0ab52efe6548a9654822781670acd4ab80d046d 100644 (file)
--- a/anykey.c
+++ b/anykey.c
 #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)