Fix the uss_vol.c file to use the volser prototypes. This clears up the
list of the warnings in this file, so drop the warning supression from
the Makefile, and remove the entry from README.WARNINGS
Change-Id: I9e4ec8bdfa39e3a7adafea454a4c6d96c5fc9d0f
Reviewed-on: http://gerrit.openafs.org/1204
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
interchangably for IP addresses, a
fix will require API changes.
ubik/ubikclient.c : strict-protos : ubik_Call
-uss/uss_vol.c : all Format issues
uss/uss_kauth.c : all : ubik_Call
viced/fsprobe.c : all : ubik_Call
vol/salvager.c : all : consts & undefined variable from header - maybe fixed!
${CC} -c ${CFLAGS} ${srcdir}/uss_common.c
uss_vol.o : uss_vol.c
- ${CC} -c ${CFLAGS} @CFLAGS_NOERROR@ ${srcdir}/uss_vol.c
+ ${CC} -c ${CFLAGS} ${srcdir}/uss_vol.c
uss_acl.o : uss_acl.c
${CC} -c ${CFLAGS} ${srcdir}/uss_acl.c
#include <afs/cellconfig.h>
#include <rx/rx_globals.h>
#include <afs/volser.h>
+#include <afs/volser_prototypes.h>
#include <afs/volint.h>
#include <afs/keys.h>
#include <afs/afsutil.h>
static char rn[] = "uss_vol_CreateVol"; /*Routine name */
#endif
afs_int32 pname; /*Partition name */
- afs_int32 volid, code; /*Volume ID, return code */
+ afs_uint32 volid; /*Volume ID */
+ afs_int32 code; /*return code */
afs_int32 saddr; /*Socket info for server */
int VolExistFlag = 0; /*Does the volume exist? */
int mpExistFlag = 0; /*Does the mountpoint exist? */