diff libfdproto/messages.c @ 686:f83d9878bf66

Fixed in case of termination of several modules (before initialization completed)
author Sebastien Decugis <sdecugis@nict.go.jp>
date Wed, 19 Jan 2011 14:35:14 +0900
parents f198d16fa7f4
children 026802543f57
line wrap: on
line diff
--- a/libfdproto/messages.c	Wed Jan 19 11:11:23 2011 +0900
+++ b/libfdproto/messages.c	Wed Jan 19 14:35:14 2011 +0900
@@ -1108,8 +1108,8 @@
 
 
 /******************* End-to-end counter *********************/
-uint32_t fd_eteid;
-pthread_mutex_t fd_eteid_lck = PTHREAD_MUTEX_INITIALIZER;
+static uint32_t fd_eteid;
+static pthread_mutex_t fd_eteid_lck = PTHREAD_MUTEX_INITIALIZER;
 
 void fd_msg_eteid_init(void)
 {
"Welcome to our mercurial repository"