Explorar el Código

tests: add missing static in bandwith-server-many

Stéphane Raimbault hace 9 años
padre
commit
cb09fa6149
Se han modificado 1 ficheros con 4 adiciones y 3 borrados
  1. 4 3
      tests/bandwidth-server-many-up.c

+ 4 - 3
tests/bandwidth-server-many-up.c

@@ -24,9 +24,10 @@
 
 #define NB_CONNECTION    5
 
-modbus_t *ctx = NULL;
-int server_socket = -1;
-modbus_mapping_t *mb_mapping;
+static modbus_t *ctx = NULL;
+static modbus_mapping_t *mb_mapping;
+
+static int server_socket = -1;
 
 static void close_sigint(int dummy)
 {