Explorar o código

tests: add missing static in bandwith-server-many

Stéphane Raimbault %!s(int64=9) %!d(string=hai) anos
pai
achega
cb09fa6149
Modificáronse 1 ficheiros con 4 adicións e 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)
 {