r11097 - in libprelude/trunk: src tests

[email protected]
Newsgroups gmane.comp.security.ids.prelude.cvs
Message-ID <[email protected]>
Author: yoann
Date: 2008-11-14 17:21:58 +0100 (Fri, 14 Nov 2008)
New Revision: 11097

Modified:
   libprelude/trunk/src/prelude-client-profile.c
   libprelude/trunk/tests/async-timer.c
Log:
Make the lock static, fix compile failure due to multiple declaration.


Modified: libprelude/trunk/src/prelude-client-profile.c
===================================================================
--- libprelude/trunk/src/prelude-client-profile.c	2008-11-14 16:21:54 UTC (rev 11096)
+++ libprelude/trunk/src/prelude-client-profile.c	2008-11-14 16:21:58 UTC (rev 11097)
@@ -86,7 +86,7 @@
 static const char *relative_config_default_dir = NULL;
 static const char *relative_profile_dir = NULL;
 
-gl_lock_t lock = gl_lock_initializer;
+static gl_lock_t lock = gl_lock_initializer;
 gl_once_define(static, relocate_once);
 
 

Modified: libprelude/trunk/tests/async-timer.c
===================================================================
--- libprelude/trunk/tests/async-timer.c	2008-11-14 16:21:54 UTC (rev 11096)
+++ libprelude/trunk/tests/async-timer.c	2008-11-14 16:21:58 UTC (rev 11097)
@@ -16,7 +16,7 @@
 
 static int async_done = 0;
 static int timer_count = 0;
-gl_lock_t lock = gl_lock_initializer;
+static gl_lock_t lock = gl_lock_initializer;
 
 
 static void timer_cb(void *data)

_______________________________________________
Prelude-cvslog site list
[email protected]
http://lists.prelude-ids.org/mailman/listinfo/prelude-cvslog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.