OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_6pre1-6-ge4b2242

Gerrit Code Review gerrit@openafs.org
Wed, 18 Dec 2013 07:35:03 -0800 (PST)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit e4b2242f3a29832e1df389ceea6ec4ca41c06306
Author: Ben Kaduk <kaduk@mit.edu>
Date:   Tue Mar 26 17:42:38 2013 -0400

    Fix DARWIN build with clang
    
    In 1d8937b86050 we added a function call to kauth_cred_unref in the
    DARWIN100 case (replacing a macro), but added the inclusion of
    sys/kauth.h only when using versions older than DARWIN80.
    On DARWIN100 and above, clang detects that the now-implicit function
    declaration is in conflict with the actual prototype, which is included
    later through afs/sysincludes.h when compiling the kernel rx code.
    
    Since including sys/kauth.h seems to have been harmless for old versions,
    just include it always.
    
    Reviewed-on: http://gerrit.openafs.org/9676
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
    (cherry picked from commit 6ad2cc0275cd1074316d6bc70cd8758d25f94467)
    
    Change-Id: I7e3bfdee65791828fe6ee68e3dc125be2311cd86
    Reviewed-on: http://gerrit.openafs.org/10549
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
    Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>

 src/afs/DARWIN/osi_machdep.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-- 
OpenAFS Master Repository