]> sigrok.org Git - libsigrok.git/blobdiff - hardware/common/serial.c
Make more variables/functions static and non-global.
[libsigrok.git] / hardware / common / serial.c
index 339577630eeeddf26ca472e4696fc8560b15b231..1e03d4dfff1d0896f1d60c365d4f520929e95c75 100644 (file)
@@ -35,7 +35,7 @@
 
 // FIXME: Must be moved, or rather passed as function argument.
 #ifdef _WIN32
-HANDLE hdl;
+static HANDLE hdl;
 #endif
 
 const char *serial_port_glob[] = {