Task: Shared bulk data in emulation
authorPhil Miller <mille121@illinois.edu>
Wed, 3 Dec 2008 00:38:54 +0000 (00:38 +0000)
committerPhil Miller <mille121@illinois.edu>
Wed, 3 Dec 2008 00:38:54 +0000 (00:38 +0000)
Hours: 0.25
Summary: Don't export vector of allocations
Progress: 55%

There's no reason code outside this module should see the vector of
allocations, so make it static.

src/langs/bluegene/shared_alloc.C

index e7249403fe4c97e570f80ecc13ef7a30d4c76b80..f26e3229b5f240a1491457cfd6b7d56f1cc44294 100644 (file)
@@ -6,7 +6,7 @@
 
 typedef std::pair<void*, int> Alloc;
 
-std::vector<Alloc> allocs;
+static std::vector<Alloc> allocs;
 
 void *shalloc(int i, size_t s)
 {