소스 검색

tests: add missing static in bandwith-server-many

Stéphane Raimbault 9 년 전
부모
커밋
cb09fa6149
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  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)
 {