sal/cppunittester/cppunittester.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 471a0e328cf66f8a288ef0306decf557362c13af
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Thu Sep 30 10:03:06 2021 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Thu Sep 30 12:20:03 2021 +0200

    loplugin:external (clang-cl)
    
    Change-Id: I71be097d5051d39295f9f85d3e2329564388b4c5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122851
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/sal/cppunittester/cppunittester.cxx 
b/sal/cppunittester/cppunittester.cxx
index 7982982c5305..63567d681cfd 100644
--- a/sal/cppunittester/cppunittester.cxx
+++ b/sal/cppunittester/cppunittester.cxx
@@ -485,7 +485,7 @@ static bool main2()
 #if defined(_WIN32) && defined(_DEBUG)
 
 //Prints stack trace based on exception context record
-void printStack( CONTEXT* ctx )
+static void printStack( CONTEXT* ctx )
 {
     constexpr int MaxNameLen = 256;
     bool    result;
@@ -570,7 +570,7 @@ void printStack( CONTEXT* ctx )
 }
 
 // The exception filter function:
-LONG WINAPI ExpFilter(EXCEPTION_POINTERS* ex)
+static LONG WINAPI ExpFilter(EXCEPTION_POINTERS* ex)
 {
     // we only want this active on the Jenkins tinderboxes
     printf("*** Exception 0x%x occurred 
***\n\n",ex->ExceptionRecord->ExceptionCode);
@@ -578,7 +578,7 @@ LONG WINAPI ExpFilter(EXCEPTION_POINTERS* ex)
     return EXCEPTION_EXECUTE_HANDLER;
 }
 
-void AbortSignalHandler(int signal)
+static void AbortSignalHandler(int signal)
 {
     if (signal == SIGABRT) {
         std::unique_ptr<sal::BacktraceState> bs = sal::backtrace_get(50);

Reply via email to