diff options
Diffstat (limited to 'lib/common/DebugMemLeakFinder.cpp')
-rw-r--r-- | lib/common/DebugMemLeakFinder.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/common/DebugMemLeakFinder.cpp b/lib/common/DebugMemLeakFinder.cpp index ff53985f..ea5cbea9 100644 --- a/lib/common/DebugMemLeakFinder.cpp +++ b/lib/common/DebugMemLeakFinder.cpp @@ -1,11 +1,12 @@ -// distribution boxbackup-0.11rc1 (svn version: 2023_2024) +// distribution boxbackup-0.11rc2 (svn version: 2072) // -// Copyright (c) 2003 - 2006 +// Copyright (c) 2003 - 2008 // Ben Summers and contributors. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: +// // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright @@ -421,7 +422,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); } |