Fix warnings in butc, tbutc, and butm
authorAndrew Deason <adeason@sinenomine.net>
Fri, 9 Oct 2009 15:17:43 +0000 (10:17 -0500)
committerDerrick Brashear <shadow|account-1000005@unknown>
Wed, 14 Oct 2009 01:34:05 +0000 (18:34 -0700)
commit789580d13591ff1aa53cfbf5fef4d46b0b65c805
tree308d51312ed3f07db60bf4c4f327832368cb1ef8
parent664e5aca1692b664cfacd906bd4e632baedf4a4b
Fix warnings in butc, tbutc, and butm

tbutc:
 - Ignore warnings for dump.c

butc/dump.c:
 - butm_WriteFileData takes a char*, no need to cast buffer

 - volumeHeader_hton takes a struct volumeHeader*, though, need to cast
   buffer there

 - Ignore strict prototypes

butc/recoverDb.c:
 - scanVolData takes a uint*, not an int*

 - Initialize nbytes to 0

 - Remove warning inhibition

butc/tcmain.c:
 - atocl takes an int*, not a uint*

 - Ignore implicit function declaration warnings

butc/tcudbprocs.c:
 - Ignore implicit function declaration warnings (ubik stuff)

butm/file_tm.c:
 - Include sys/wait.h for the waitpid() prototype

Reviewed-on: http://gerrit.openafs.org/635
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/butc/Makefile.in
src/butc/dump.c
src/butc/recoverDb.c
src/butc/tcmain.c
src/butc/tcudbprocs.c
src/butm/file_tm.c
src/tbutc/Makefile.in