Index: /trunk/xc_malloc.c
===================================================================
--- /trunk/xc_malloc.c	(revision 152)
+++ /trunk/xc_malloc.c	(revision 153)
@@ -87,6 +87,4 @@
 static XC_MEM_INIT(xc_mem_malloc_init) /* {{{ */
 {
-	xc_block_t *b;
-
 #define MINSIZE (ALIGN(sizeof(xc_mem_t)))
 	/* requires at least the header and 1 tail block */
Index: /trunk/xc_shm.c
===================================================================
--- /trunk/xc_shm.c	(revision 152)
+++ /trunk/xc_shm.c	(revision 153)
@@ -19,13 +19,11 @@
 void xc_shm_init_modules() /* {{{ */
 {
+	extern void xc_shm_mem_init();
+	extern void xc_shm_malloc_register();
+	extern void xc_shm_mmap_register();
+
 	memset(xc_shm_schemes, 0, sizeof(xc_shm_schemes));
-
-	extern void xc_shm_mem_init();
 	xc_shm_mem_init();
-
-	extern void xc_shm_malloc_register();
 	xc_shm_malloc_register();
-
-	extern void xc_shm_mmap_register();
 	xc_shm_mmap_register();
 }
