[OpenAFS-devel] afs/cm.h prototypes

Marc Dionne dionne@cs.wisc.edu
Thu, 25 Apr 2002 17:40:16 -0500


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.

Note: other than this, the current CVS compiles cleanly, and so far runs
fine on win2k.
Marc