Constify strings to avoid warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15951 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -35,10 +35,10 @@
|
||||
|
||||
RCSID("$Id$");
|
||||
|
||||
static char *
|
||||
static const char *
|
||||
calling_error(OM_uint32 v)
|
||||
{
|
||||
static char *msgs[] = {
|
||||
static const char *msgs[] = {
|
||||
NULL, /* 0 */
|
||||
"A required input parameter could not be read.", /* */
|
||||
"A required output parameter could not be written.", /* */
|
||||
@@ -55,10 +55,10 @@ calling_error(OM_uint32 v)
|
||||
return msgs[v];
|
||||
}
|
||||
|
||||
static char *
|
||||
static const char *
|
||||
routine_error(OM_uint32 v)
|
||||
{
|
||||
static char *msgs[] = {
|
||||
static const char *msgs[] = {
|
||||
NULL, /* 0 */
|
||||
"An unsupported mechanism was requested",
|
||||
"An invalid name was supplied",
|
||||
@@ -91,10 +91,10 @@ routine_error(OM_uint32 v)
|
||||
return msgs[v];
|
||||
}
|
||||
|
||||
static char *
|
||||
static const char *
|
||||
supplementary_error(OM_uint32 v)
|
||||
{
|
||||
static char *msgs[] = {
|
||||
static const char *msgs[] = {
|
||||
"normal completion",
|
||||
"continuation call to routine required",
|
||||
"duplicate per-message token detected",
|
||||
|
Reference in New Issue
Block a user