const char paths for ubik_ServerInit
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Wed, 11 Nov 2009 10:28:29 +0000 (10:28 +0000)
committerDerrick Brashear <shadow|account-1000005@unknown>
Wed, 11 Nov 2009 17:17:25 +0000 (09:17 -0800)
commit420dfad900267720d1665a67c92c567a341728c7
treecce0eb40b6ed1c9a39736746db8d119ae7cf51b1
parent420a544ecea96d5f72e5446f1f75add666b4f463
const char paths for ubik_ServerInit

ubik_ServerInit* take a pathname, which should really be a const.
It already is in many of the callers, some of which remove the
const by casting, the others throw errors.

Make pathName const for all of ubik_ServerInitByInfo, ubik_ServerInit
and ubik_ServerInitCommon.
Update all of our callers to remove the now unecessary casting.
Remove the now uneccessary warning inhibition on vlserver/vlserver.c

Change-Id: I009103dc49e4473eec65ebd75aab727915c26f3c
Reviewed-on: http://gerrit.openafs.org/811
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
README.WARNINGS
src/kauth/kaserver.c
src/ptserver/ptserver.c
src/ptserver/ubik.c
src/ubik/ubik.c
src/ubik/ubik.p.h
src/vlserver/Makefile.in