[xiph-commits] r18643 - icecast/trunk/icecast/src

ph3-der-loewe at svn.xiph.org ph3-der-loewe at svn.xiph.org
Wed Oct 10 15:48:15 PDT 2012


Author: ph3-der-loewe
Date: 2012-10-10 15:48:15 -0700 (Wed, 10 Oct 2012)
New Revision: 18643

Modified:
   icecast/trunk/icecast/src/connection.c
   icecast/trunk/icecast/src/fserve.c
Log:
Make some more vars local (static).

Modified: icecast/trunk/icecast/src/connection.c
===================================================================
--- icecast/trunk/icecast/src/connection.c	2012-10-10 22:41:30 UTC (rev 18642)
+++ icecast/trunk/icecast/src/connection.c	2012-10-10 22:48:15 UTC (rev 18643)
@@ -117,7 +117,7 @@
 #endif
 
 /* filtering client connection based on IP */
-cache_file_contents banned_ip, allowed_ip;
+static cache_file_contents banned_ip, allowed_ip;
 
 rwlock_t _source_shutdown_rwlock;
 

Modified: icecast/trunk/icecast/src/fserve.c
===================================================================
--- icecast/trunk/icecast/src/fserve.c	2012-10-10 22:41:30 UTC (rev 18642)
+++ icecast/trunk/icecast/src/fserve.c	2012-10-10 22:48:15 UTC (rev 18643)
@@ -67,8 +67,8 @@
 
 #define BUFSIZE 4096
 
-fserve_t *active_list = NULL;
-fserve_t *pending_list = NULL;
+static fserve_t *active_list = NULL;
+static fserve_t *pending_list = NULL;
 
 static spin_t pending_lock;
 static avl_tree *mimetypes = NULL;



More information about the commits mailing list