Explorar el Código

rtl_tcp: make all global variables static

Signed-off-by: Steve Markgraf <steve@steve-m.de>
Steve Markgraf hace 11 años
padre
commit
6ee5573606
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/rtl_tcp.c

+ 2 - 2
src/rtl_tcp.c

@@ -78,9 +78,9 @@ typedef struct { /* structure size must be multiple of 2 bytes */
 
 
 static rtlsdr_dev_t *dev = NULL;
 static rtlsdr_dev_t *dev = NULL;
 
 
-int global_numq = 0;
+static int global_numq = 0;
 static struct llist *ll_buffers = 0;
 static struct llist *ll_buffers = 0;
-int llbuf_num=500;
+static int llbuf_num = 500;
 
 
 static volatile int do_exit = 0;
 static volatile int do_exit = 0;