]> git.tdb.fi Git - gldbg.git/blobdiff - source/tmpalloc.c
Make tmpalloc global variables static
[gldbg.git] / source / tmpalloc.c
index 56d955e5a3dd73966b1ed1d13927ce3652e34737..26b6d08f87148bf0301579f587b28d4ca9adae0b 100644 (file)
@@ -8,9 +8,9 @@ Distributed under the GPL
 #include <stdlib.h>
 #include "tmpalloc.h"
 
-void *buffer = 0;
-unsigned buf_size = 8192;
-unsigned offset = 0;
+static void *buffer = 0;
+static unsigned buf_size = 8192;
+static unsigned offset = 0;
 
 void *tmpalloc(unsigned size)
 {