]> granicus.if.org Git - check/commitdiff
* declare mutex_lock as static to stop it from getting exported
authorcpickett <cpickett@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 14 Dec 2009 19:22:57 +0000 (19:22 +0000)
committercpickett <cpickett@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 14 Dec 2009 19:22:57 +0000 (19:22 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@573 64e312b2-a51f-0410-8e61-82d0ca0eb02a

src/check_pack.c

index 4fde5726be6a223eb3c22898f545148d115ae46d..66cbc369950af54171838507a9e8518139a767b8 100644 (file)
@@ -254,7 +254,7 @@ static void check_type (int type, const char *file, int line)
 }
 
 #ifdef HAVE_PTHREAD
-pthread_mutex_t mutex_lock = PTHREAD_MUTEX_INITIALIZER;
+static pthread_mutex_t mutex_lock = PTHREAD_MUTEX_INITIALIZER;
 #endif
 
 void ppack (int fdes, enum ck_msg_type type, CheckMsg *msg)