summaryrefslogtreecommitdiff
path: root/source4/heimdal/lib/gssapi/display_status.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/heimdal/lib/gssapi/display_status.c')
-rw-r--r--source4/heimdal/lib/gssapi/display_status.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source4/heimdal/lib/gssapi/display_status.c b/source4/heimdal/lib/gssapi/display_status.c
index 2c84628266..6e9456aa2e 100644
--- a/source4/heimdal/lib/gssapi/display_status.c
+++ b/source4/heimdal/lib/gssapi/display_status.c
@@ -33,12 +33,12 @@
#include "gssapi_locl.h"
-RCSID("$Id: display_status.c,v 1.12 2005/03/16 13:15:03 lha Exp $");
+RCSID("$Id: display_status.c,v 1.13 2005/08/23 08:30:55 lha Exp $");
-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",