Index: /trunk/xcache.c
===================================================================
--- /trunk/xcache.c	(revision 1047)
+++ /trunk/xcache.c	(revision 1050)
@@ -95,11 +95,15 @@
 /* }}} */
 /* {{{ PHP_GINIT_FUNCTION(xcache) */
-static
+#pragma GCC push_options
+#pragma GCC diagnostic ignored "-Wshadow"
+
 #ifdef PHP_GINIT_FUNCTION
-PHP_GINIT_FUNCTION(xcache)
+static PHP_GINIT_FUNCTION(xcache)
 #else
-void xc_init_globals(zend_xcache_globals* xcache_globals TSRMLS_DC)
-#endif
-{
+static void xc_init_globals(zend_xcache_globals* xcache_globals TSRMLS_DC)
+#endif
+{
+#pragma GCC pop_options
+
 	memset(xcache_globals, 0, sizeof(zend_xcache_globals));
 
