aboutsummaryrefslogtreecommitdiff
path: root/src/lib/krb5/krb/appdefault.c
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2002-06-26 00:12:13 +0000
committerTom Yu <tlyu@mit.edu>2002-06-26 00:12:13 +0000
commitcc80e0005fb455749a40affb911ff002c5be4efc (patch)
tree78157c3d6fbb40eb5c7c793b42a8968fc0a35283 /src/lib/krb5/krb/appdefault.c
parent7d2bf7e5c9760b98622daeff425a2281dfd59dce (diff)
downloadkrb5-cc80e0005fb455749a40affb911ff002c5be4efc.zip
krb5-cc80e0005fb455749a40affb911ff002c5be4efc.tar.gz
krb5-cc80e0005fb455749a40affb911ff002c5be4efc.tar.bz2
* appdefault.c, get_in_tkt.c: made conf_yes and conf_no const to
improve load time on Mach-O * init_ctx: fixed Mac OS macros [pullups from 1-2-2-branch] * rd_safe.c, rd_priv.c, rd_cred.c, preauth.c, mk_safe.c, mk_cred.c, appdefault.c: use "" includes for krb5.h, k5-int.h and syslog.h [pullup from 1-2-2-branch] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14583 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/krb/appdefault.c')
-rw-r--r--src/lib/krb5/krb/appdefault.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/krb5/krb/appdefault.c b/src/lib/krb5/krb/appdefault.c
index e6b732d..5cc73cc 100644
--- a/src/lib/krb5/krb/appdefault.c
+++ b/src/lib/krb5/krb/appdefault.c
@@ -5,17 +5,17 @@
#include <stdio.h>
#include <string.h>
-#include <k5-int.h>
+#include "k5-int.h"
/*xxx Duplicating this is annoying; try to work on a better way.*/
-static char *conf_yes[] = {
+static const char *conf_yes[] = {
"y", "yes", "true", "t", "1", "on",
0,
};
-static char *conf_no[] = {
+static const char *conf_no[] = {
"n", "no", "false", "nil", "0", "off",
0,
};