[compiler-rt] 7cbd899 - [compiler-rt] lsan remove unneeded comma for pthread_atfork declaration. (#99788)

via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 20 15:51:07 PDT 2024


Author: David CARLIER
Date: 2024-07-20T23:51:04+01:00
New Revision: 7cbd89921bed66e2422ce0b387fa8070b78152e1

URL: https://github.com/llvm/llvm-project/commit/7cbd89921bed66e2422ce0b387fa8070b78152e1
DIFF: https://github.com/llvm/llvm-project/commit/7cbd89921bed66e2422ce0b387fa8070b78152e1.diff

LOG: [compiler-rt] lsan remove unneeded comma for pthread_atfork declaration. (#99788)

Added: 
    

Modified: 
    compiler-rt/lib/lsan/lsan_interceptors.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/lsan/lsan_interceptors.cpp b/compiler-rt/lib/lsan/lsan_interceptors.cpp
index 6df4b6865b379..b569c337e9764 100644
--- a/compiler-rt/lib/lsan/lsan_interceptors.cpp
+++ b/compiler-rt/lib/lsan/lsan_interceptors.cpp
@@ -389,7 +389,7 @@ INTERCEPTOR(int, atexit, void (*f)()) {
 extern "C" {
 extern int _pthread_atfork(void (*prepare)(), void (*parent)(),
                            void (*child)());
-};
+}
 
 INTERCEPTOR(int, pthread_atfork, void (*prepare)(), void (*parent)(),
             void (*child)()) {


        


More information about the llvm-commits mailing list