Make kernel_pool, user_pool static, since they are used only in palloc.c
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 7 Nov 2008 05:12:12 +0000 (21:12 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 7 Nov 2008 05:12:12 +0000 (21:12 -0800)
Found by Godmar with his process-linker-map.pl.

src/threads/palloc.c

index eab41e4811b15d074acf74ab27592d9eb56bb678..d5d513fec06871cbca165e1cfadfadc4895b5330 100644 (file)
@@ -35,7 +35,7 @@ struct pool
   };
 
 /* Two pools: one for kernel data, one for user pages. */
-struct pool kernel_pool, user_pool;
+static struct pool kernel_pool, user_pool;
 
 /* Maximum number of pages to put in user pool. */
 size_t user_page_limit = SIZE_MAX;