diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-01-22 00:59:22 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-01-22 00:59:22 +0000 |
commit | cede082dc35481d4d47d389f56d9f406999d35d0 (patch) | |
tree | 45c2502bf954e6888d3ec170566672686d3631b9 /lib/common/DebugMemLeakFinder.cpp | |
parent | 152a13175cea8ec9407b32e7457ee6dec47e76a4 (diff) |
memleakfinder_atexit() should be extern "C" to silence warnings.
Diffstat (limited to 'lib/common/DebugMemLeakFinder.cpp')
-rw-r--r-- | lib/common/DebugMemLeakFinder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/DebugMemLeakFinder.cpp b/lib/common/DebugMemLeakFinder.cpp index e9b0e681..87cdf00d 100644 --- a/lib/common/DebugMemLeakFinder.cpp +++ b/lib/common/DebugMemLeakFinder.cpp @@ -383,7 +383,7 @@ static char atexit_filename[512]; static char atexit_markertext[512]; static bool atexit_registered = false; -void memleakfinder_atexit() +extern "C" void memleakfinder_atexit() { memleakfinder_reportleaks_appendfile(atexit_filename, atexit_markertext); } |