OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-58-g755fad2

Gerrit Code Review gerrit@openafs.org
Tue, 7 Jan 2025 10:19:30 -0500


The following commit has been merged in the master branch:
commit 755fad2f2601938901cd1e6650ff439e03ebf265
Author: Ben Huntsman <ben@huntsmans.net>
Date:   Sat Dec 7 10:44:11 2024 -0800

    lwp: Declare LWP_TerminateProcessSupport
    
    When building rw in src/lwp, some compilers throw a warning that
    LWP_TerminateProcessSupport is not declared.  Here is an example:
    
              /opt/IBM/openxlC/17.1.0/bin/ibm-clang    -g -O    -I/home/build/openafs/src/config -I/home/build/openafs/include  -I. -I.       -o rw.o -c rw.c
    rw.c:242:5: warning: implicit declaration of function 'LWP_TerminateProcessSupport' is invalid in C99 [-Wimplicit-function-declaration]
        LWP_TerminateProcessSupport();
        ^
    1 warning generated.
    
    Declare LWP_TerminateProcessSupport in lwp.h.  Also update the function
    signatures in src/lwp/lwp_nt.c and src/lwp/test/testlwp.c to match.
    
    Change-Id: I86c016d7e6000dc341d8cf314173fc55f0a77331
    Reviewed-on: https://gerrit.openafs.org/15979
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>

 src/lwp/lwp.h          | 2 ++
 src/lwp/lwp_nt.c       | 2 +-
 src/lwp/test/testlwp.c | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository