[OpenAFS-devel] afs/cm.h prototypes
Derrick J Brashear
shadow@dementia.org
Thu, 25 Apr 2002 23:32:06 -0400 (EDT)
On Thu, 25 Apr 2002, Marc Dionne wrote:
> In the current CVS sources, some prototypes don't match between afs/cm.h
> and prototypes for the same functions found in afs/afsint.h and
> afs/vldbint.h This causes the Windows build to fail because a few
> files end up including both prototypes, and these are compiled with the
> option to consider warnings as errors.
>
> Seems like it's not a good idea to maintain multiple prototypes for the
> same functions; perhaps they should just be removed from cm.h? This
> might mean that cm.h should include the other 2 (it already does for
> DJGPP), or some source files might need to be changed to include cm.h
> along with one of the others.
There weren't 2 prototypes before, it's the result of some work that
already "leaked" into the tree as far as prototyping. The end result will
probably require much more cleanup on Windows, and as of this moment I
(still) have no build host:-\