Browse Source

tests: add missing static in bandwith-server-many

Stéphane Raimbault 9 years ago
parent
commit
cb09fa6149
1 changed files with 4 additions and 3 deletions
  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)
 {