OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2394-g83b76f5

Gerrit Code Review gerrit@openafs.org
Thu, 12 Apr 2012 14:14:55 -0700 (PDT)


The following commit has been merged in the master branch:
commit 83b76f564b0972c6163656637b2d64d06895e41a
Author: Simon Wilkinson <sxw@your-file-system.com>
Date:   Thu Sep 8 11:26:39 2011 +0100

    Remove redundant header includes
    
    Remove includes of system headers where roken.h already takes care of
    including them. This simplifies the source tree, reduces the amount of
    work done by the compiler, and ensures that all of our headers are
    included with the correct guards
    
    The list of files to edit was generated with the following script:
    
    list=`grep include external/heimdal/roken/roken.h.in                \
             | sed -e's/#include//g' | sort | uniq`;                    \
    for A in `find . -name *.c | xargs grep -l roken.h                  \
                 | grep -v external/ | grep -v WINNT/`; do              \
         found=0;                                                       \
         for B in $list; do                                             \
             if grep "$B" $A > /dev/null; then                          \
                  echo "$A : $B";                                       \
                  found=1;                                              \
             fi;                                                        \
         done;                                                          \
         if [ $found == 1 ] ; then mvim -f $A; fi;                      \
    done
    
    Change-Id: I2edbda550a129709b1dc6860b17d6a8a7509af58
    Reviewed-on: http://gerrit.openafs.org/5815
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Reviewed-by: Alistair Ferguson <alistair.ferguson@mac.com>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>

 src/afsd/afsd.c                        |   34 +----------------------------
 src/afsd/afsd_kernel.c                 |   28 +-----------------------
 src/auth/ktc.c                         |    7 ------
 src/auth/test/ktctest.c                |    3 --
 src/auth/userok.c                      |    1 -
 src/bozo/bos.c                         |    1 -
 src/bozo/bosserver.c                   |   10 +--------
 src/bozo/cronbnodeops.c                |    4 ---
 src/bozo/ezbnodeops.c                  |    3 --
 src/budb/server.c                      |    2 -
 src/comerr/error_table_nt.c            |   14 ------------
 src/dir/test/dtest.c                   |    2 -
 src/kauth/kaserver.c                   |    1 -
 src/kauth/klogin.c                     |    2 -
 src/kauth/user_nt.c                    |    6 -----
 src/libadmin/adminutil/afs_utilAdmin.c |    1 -
 src/libadmin/samples/cm_list_cells.c   |    1 -
 src/libadmin/samples/cm_local_cell.c   |    1 -
 src/libadmin/samples/rxstat_get_peer.c |    3 --
 src/ptserver/display.c                 |    6 -----
 src/rx/rx_trace.c                      |    1 -
 src/rx/rx_xmit_nt.c                    |    2 -
 src/rx/test/rxperf.c                   |   36 ++-----------------------------
 src/rx/test/testclient.c               |   15 +------------
 src/rx/test/testserver.c               |   15 +------------
 src/rx/xdr_refernce.c                  |    6 +----
 src/rxgen/rpc_main.c                   |    1 -
 src/rxkad/bg-fcrypt.c                  |    5 ----
 src/rxkad/test/stress_c.c              |   10 +-------
 src/rxstat/rxstat.c                    |    2 -
 src/sys/pioctl_nt.c                    |    1 -
 src/ubik/remote.c                      |    5 ++-
 src/update/client.c                    |    2 -
 src/usd/usd_file.c                     |    3 --
 src/usd/usd_nt.c                       |    1 -
 src/util/readdir_nt.c                  |    1 -
 src/util/serverLog.c                   |    1 -
 src/util/uuid.c                        |    1 -
 src/util/winsock_nt.c                  |    1 -
 src/venus/afsio.c                      |   10 ++------
 src/venus/kdump.c                      |   16 --------------
 src/vfsck/inode.c                      |    1 -
 src/vfsck/pass1.c                      |    1 -
 src/vfsck/proplist.c                   |    1 -
 src/vfsck/utilities.c                  |    2 -
 src/vol/listinodes.c                   |    1 -
 src/vol/ntops.c                        |    1 -
 src/vol/partition.c                    |    5 ----
 src/vol/physio.c                       |    1 -
 src/vol/salvsync-client.c              |    6 +----
 src/vol/salvsync-server.c              |    6 +----
 51 files changed, 21 insertions(+), 269 deletions(-)

-- 
OpenAFS Master Repository