From: Ezra Peisach Date: Wed, 19 Apr 1995 17:28:33 +0000 (+0000) Subject: Removed global_context hack X-Git-Tag: krb5-1.0-beta5~360 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4bde3df46e2f42dba8ee8aab745098e3eb066b25;p=krb5.git Removed global_context hack Added prototype for krb5_set_default_realm git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5376 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index 023c2b663..8ab6bfd03 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,3 +1,8 @@ +Wed Apr 19 13:25:56 1995 Ezra Peisach + + * func-proto.h: Remove global_context hack. Added prototype for + krb5_set_default_realm. + Thu Apr 13 15:49:16 1995 Keith Vetter (keithv@fusion.com) * asn1.h, ccache.h, encryption.h, func-pro.h, hostaddr.h, keytab.h, diff --git a/src/include/krb5/func-proto.h b/src/include/krb5/func-proto.h index f7fb11b21..3c209eca5 100644 --- a/src/include/krb5/func-proto.h +++ b/src/include/krb5/func-proto.h @@ -39,10 +39,6 @@ krb5_error_code krb5_get_default_in_tkt_etypes PROTOTYPE((krb5_context, krb5_enctype **)); -/* This is a hack to find what needs fixing later, when we've all forgotten - which rotuines still need fixing */ -extern krb5_context global_context; - /* libkrb.spec */ krb5_error_code krb5_kdc_rep_decrypt_proc PROTOTYPE((krb5_context, @@ -421,6 +417,9 @@ krb5_error_code INTERFACE krb5_os_localaddr krb5_error_code INTERFACE krb5_get_default_realm PROTOTYPE((krb5_context, char FAR * FAR * )); +krb5_error_code INTERFACE krb5_set_default_realm + PROTOTYPE((krb5_context, + const char FAR * )); krb5_error_code INTERFACE krb5_sname_to_principal PROTOTYPE((krb5_context, const char FAR *,