OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2069-g52944ff

Gerrit Code Review gerrit@openafs.org
Wed, 4 Jan 2012 18:10:54 -0800 (PST)


The following commit has been merged in the master branch:
commit 52944ff61a455770da451b551ffa0ae10c19ea2e
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date:   Wed Jan 4 19:27:18 2012 -0500

    Use offsetof() in set_header_word to get field offset
    
    Use offsetof() to replace a few instances where the same logic is
    open coded in set_header_word and inc_header_word macros.  In cases
    where the field name involves a variable as an index to an array,
    newer gcc gives a sequence point warning.
    
    Change-Id: I43e3d6ef6a63b51003496a1beb72c445a9109615
    Reviewed-on: http://gerrit.openafs.org/6513
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>

 src/budb/database.h    |    6 +++++-
 src/kauth/kadatabase.c |    8 ++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)

-- 
OpenAFS Master Repository