From a34576395e2c009c6ae9902cbdcf6acb84b20079 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 19 Feb 2007 02:37:10 +0000 Subject: Ensure consistancy between prototypes and functions I am using an older compiler that is complaining that prototypes do not match the functions they reference. The issue is that a number of prototypes are using "const int foo" while the function is "int foo". From a caller sense it makes no difference - but the compiler is correct they are different. All is now consistant. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19169 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/krb5/acquire_cred.c | 2 +- src/lib/gssapi/mechglue/mglueP.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/gssapi') diff --git a/src/lib/gssapi/krb5/acquire_cred.c b/src/lib/gssapi/krb5/acquire_cred.c index 3f213a12e..43d21220c 100644 --- a/src/lib/gssapi/krb5/acquire_cred.c +++ b/src/lib/gssapi/krb5/acquire_cred.c @@ -566,7 +566,7 @@ krb5_gss_acquire_cred(minor_status, desired_name, time_req, /* if the princ wasn't filled in already, fill it in now */ - if (!cred->princ && (desired_name != GSS_C_NO_CREDENTIAL)) + if (!cred->princ && (desired_name != GSS_C_NO_NAME)) if ((code = krb5_copy_principal(context, (krb5_principal) desired_name, &(cred->princ)))) { if (cred->ccache) diff --git a/src/lib/gssapi/mechglue/mglueP.h b/src/lib/gssapi/mechglue/mglueP.h index 70da996d1..85ae002c3 100644 --- a/src/lib/gssapi/mechglue/mglueP.h +++ b/src/lib/gssapi/mechglue/mglueP.h @@ -427,7 +427,7 @@ OM_uint32 gssint_create_copy_buffer( OM_uint32 gssint_copy_oid_set( OM_uint32 *, /* minor_status */ - const gss_OID_set_desc *, /* oid set */ + const gss_OID_set_desc * const, /* oid set */ gss_OID_set * /* new oid set */ ); -- cgit