[asterisk-commits] mmichelson: branch group/CCSS r223326 - /team/group/CCSS/main/ccss.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Oct 9 15:33:58 CDT 2009


Author: mmichelson
Date: Fri Oct  9 15:33:54 2009
New Revision: 223326

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=223326
Log:
Move some file-scope variables to the top of the file.


Modified:
    team/group/CCSS/main/ccss.c

Modified: team/group/CCSS/main/ccss.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/main/ccss.c?view=diff&rev=223326&r1=223325&r2=223326
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Fri Oct  9 15:33:54 2009
@@ -59,6 +59,12 @@
 /* File scope variables */
 static struct ast_sched_thread *cc_sched_thread;
 static const int CC_CORE_INSTANCES_BUCKETS = 17;
+
+/* Parsed configuration value for cc_max_requests */
+static unsigned int global_cc_max_requests;
+/* The actual number of CC requests in the system */
+static int cc_request_count;
+
 static struct ao2_container *cc_core_instances;
 
 struct cc_core_instance {
@@ -823,10 +829,6 @@
 }
 
 static struct ast_cc_monitor *root_monitor;
-/* The parsed configuration value */
-static unsigned int global_cc_max_requests;
-/* The actual number of CC requests in the system */
-static int cc_request_count;
 
 static void prune_links(struct ast_cc_monitor *monitor, const int core_id, struct ast_cc_monitor_link *link_parent);
 




More information about the asterisk-commits mailing list