The following commit has been merged in the master branch:
commit 3beeb7a6806066e8c07ebf9f9f1fbe407161fb51
Author: GANESH CHAUDHARI <gangov...@in.ibm.com>
Date:   Wed Jan 15 16:50:44 2025 -0500

    DARWIN: Specify 'int' return type for PFI
    
    In recent versions of Xcode (around the release of macOS 14), clang
    yields this error (previously a  warning):
    
      src/afs/DARWIN/osi_vfsops.c:534:11: error: type specifier missing,
         defaults to 'int'; ISO C99 and later do not support implicit int
         [-Wimplicit-int]
       typedef (*PFI) ();
    
    Explicitly specify 'int' for PFI.
    
    [mvitale: commit message details; use 'int' rather than 'void' to match
    corresponding XNU typedef]
    
    Change-Id: I8038fea31e49e3ae7167d05c4d88f1a9b4959eef
    Reviewed-on: https://gerrit.openafs.org/16139
    Reviewed-by: Mark Vitale <mvit...@sinenomine.net>
    Reviewed-by: Marcio Brito Barbosa <mbarb...@sinenomine.net>
    Reviewed-by: Michael Meffie <mmef...@sinenomine.net>
    Reviewed-by: Andrew Deason <adea...@sinenomine.net>
    Tested-by: BuildBot <build...@rampaginggeek.com>

 src/afs/DARWIN/osi_vfsops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
OpenAFS-cvs@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to