summaryrefslogtreecommitdiffstats
path: root/src/lib/krb4/g_cnffile.c
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2001-06-20 17:20:46 +0000
committerEzra Peisach <epeisach@mit.edu>2001-06-20 17:20:46 +0000
commite86b79804444fa6b7271014ba5ee9267330a32d6 (patch)
tree1563cead06e433115f6692b7a148efe96375be62 /src/lib/krb4/g_cnffile.c
parentd2bcd6877874291d0a4645052c04e5a3568570c2 (diff)
downloadkrb5-e86b79804444fa6b7271014ba5ee9267330a32d6.tar.gz
krb5-e86b79804444fa6b7271014ba5ee9267330a32d6.tar.xz
krb5-e86b79804444fa6b7271014ba5ee9267330a32d6.zip
* kname_parse.c (k_isrealm, k_isname, k_isrealm): Add
KRB5_DLLIMP/KRB5_CALLCONV definitions for function with exported prototype in krb.h. * g_cnffile.c (krb__get_srvtabname, krb__v5_get_file): Declare argument as const. * g_svc_in_tkt.c, put_svc_key.c, rd_req.c, rd_svc_key.c: Get rid of krb__get_srvtabname() prototype - in krb.h now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13418 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb4/g_cnffile.c')
-rw-r--r--src/lib/krb4/g_cnffile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/krb4/g_cnffile.c b/src/lib/krb4/g_cnffile.c
index 9b7b07052..83654b83f 100644
--- a/src/lib/krb4/g_cnffile.c
+++ b/src/lib/krb4/g_cnffile.c
@@ -23,7 +23,7 @@ krb5_context krb5__krb4_context = 0;
static FILE*
krb__v5_get_file(s)
- char *s;
+ const char *s;
{
FILE *cnffile = 0;
const char* names[3];
@@ -50,7 +50,7 @@ krb__v5_get_file(s)
char *
krb__get_srvtabname(default_srvtabname)
- char *default_srvtabname;
+ const char *default_srvtabname;
{
const char* names[3];
char **full_name = 0, **cpp;