OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_74_1-73-g8e27248
Gerrit Code Review
gerrit@openafs.org
Thu, 6 May 2010 11:52:48 -0700 (PDT)
The following commit has been merged in the master branch:
commit 8e27248698766e3d97e18363c5c4729a4e02add7
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date: Thu May 6 14:55:59 2010 +0100
Always include afsconfig.h
Our coding standards say that OpenAFS source files should always have
#include <afsconfig.h>
#include <afs/param.h>
at the start of the file. Including just param.h, or having these
includes in a different order can produce unexpected effects, because
param.h includes sysnames.h, which in turn includes stds.h, which may
rely upon having the results of configure tests available.
Fix the obvious places in the Unix build which get this wrong.
Change-Id: I081f04dab30a6bbb49fe71d3ac2d7c11e231e2f5
Reviewed-on: http://gerrit.openafs.org/1912
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/JAVA/libjafs/ACL.c | 1 +
src/JAVA/libjafs/FileOutputStream.c | 1 +
src/JAVA/libjafs/UserToken.c | 1 +
src/butc/afsxbsa.c | 2 ++
src/rxkad/fc_test.c | 1 +
src/rxstat/rxstat.c | 2 +-
src/tests/afscp.c | 4 +++-
src/tests/afscp_callback.c | 2 ++
src/tests/afsdump_extract.c | 4 +++-
src/tests/afsdump_scan.c | 4 +++-
src/tests/dumptool.c | 4 +++-
src/tests/write-closed2.c | 4 +++-
src/util/fstab.c | 1 +
src/vol/namei_map.c | 4 +++-
14 files changed, 28 insertions(+), 7 deletions(-)
--
OpenAFS Master Repository