Warning fixes - key handling
authorMarc Dionne <marc.c.dionne@gmail.com>
Thu, 19 Nov 2009 23:29:08 +0000 (18:29 -0500)
committerDerrick Brashear <shadow|account-1000005@unknown>
Sun, 29 Nov 2009 19:52:24 +0000 (11:52 -0800)
commit19f0da1e44c6ac5acd22f8a2b1d9095d568d216e
tree8949ec3b01d24364efa91bf2ec70b7edba8c8534
parent0188cf081f3c21cc1cb467a9babeb22a52b093f7
Warning fixes - key handling

Various warning fixes related mostly to the different types used
to handle keys.  This should clear most of the remaining warnings
in this area.  The technique of inline converter helpers is
extended to cover a few more cases.

README.WARNINGS is adjusted to reflect the current status.

Fixes:
- bos: define and use an inline converter from a ktc key to a bozo key
- bos.c and bos_utils.c should no longer have warnings - adjust Makefile
- define a ktc key to char * converter and use it in a few places
- define kas key to bozo key ptr converter and use it in a few places (afs_bosAdmin)
- cast a few arguments to ka_StringToKey which expects non-const pointers
Change-Id: I1c19869ac232d78209126d4eeeb11af8bcb95815
Reviewed-on: http://gerrit.openafs.org/860
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
README.WARNINGS
src/bozo/Makefile.in
src/bozo/bos.c
src/bozo/bos_util.c
src/bozo/bosprototypes.h
src/libadmin/bos/afs_bosAdmin.c
src/libadmin/bos/afs_bosAdmin.h
src/libadmin/kas/afs_kasAdmin.c
src/rxkad/Makefile.in
src/rxkad/rxkad_prototypes.h
src/uss/uss_kauth.c