OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_74_1-233-g8faceb4

Gerrit Code Review gerrit@openafs.org
Sat, 12 Jun 2010 22:34:18 -0700 (PDT)


The following commit has been merged in the master branch:
commit 8faceb4ba4c66069a03fc03a57d8b0af03dfbefc
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date:   Fri Jun 11 23:46:29 2010 +0100

    Add AFS_NORETURN macro and use it
    
    Add the AFS_NORETURN macro which can be used with gcc compatible
    compilers to indicate that a particular funciton prototype will
    not return control to the caller. This both improves code quality,
    and helps with static analysis.
    
    Use this to flag afsmon_Exit, db_panic, osi_Panic, Abort, Exit
    and the error handlers for osi_Assert and our local assert fn
    all as being noreturn.
    
    Change-Id: Ic6c4ae319af3d6f7665c9ee5072b556c01850982
    Reviewed-on: http://gerrit.openafs.org/2134
    Reviewed-by: Russ Allbery <rra@stanford.edu>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/afsmonitor/afsmonitor.h |    2 +-
 src/budb/database.h         |    2 +-
 src/config/stds.h           |    2 ++
 src/rx/rx_prototypes.h      |    9 +++++----
 src/util/assert.h           |    2 +-
 src/vol/salvaged.c          |    1 -
 src/vol/vnode.c             |    2 +-
 src/vol/vol-salvage.c       |    2 +-
 src/vol/vol-salvage.h       |    2 +-
 9 files changed, 13 insertions(+), 11 deletions(-)

-- 
OpenAFS Master Repository