Commit 22edd66d authored by Rich Prohaska's avatar Rich Prohaska

fix some global namespace pollution

git-svn-id: file:///svn/tokudb@2118 c7de825b-a66e-492c-adef-691d508d4ae1
parent cb266238
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
const u_int32_t minlen = 64; static const u_int32_t minlen = 64;
/* /*
* Returns: * Returns:
......
...@@ -21,7 +21,7 @@ def checkglobals(libname, exceptsymbols, verbose): ...@@ -21,7 +21,7 @@ def checkglobals(libname, exceptsymbols, verbose):
type = match.group(2) type = match.group(2)
symbol = match.group(3) symbol = match.group(3)
if verbose: print type, symbol if verbose: print type, symbol
match = re.match("^toku_", symbol) match = re.match("^toku_|^__toku", symbol)
if match == None and not exceptsymbols.has_key(symbol): if match == None and not exceptsymbols.has_key(symbol):
print "non toku symbol=", symbol print "non toku symbol=", symbol
badglobals = 1 badglobals = 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment