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

David CARLIER via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 20 15:42:14 PDT 2024


https://github.com/devnexen created https://github.com/llvm/llvm-project/pull/99788

None

>From 414fd1d135b9a110d192b89759e16d81febe655c Mon Sep 17 00:00:00 2001
From: David Carlier <devnexen at gmail.com>
Date: Sat, 20 Jul 2024 23:41:22 +0100
Subject: [PATCH] [compiler-rt] lsan remove unneeded comma for pthread_atfork
 declaration.

---
 compiler-rt/lib/lsan/lsan_interceptors.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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