diff options
author | Andreas Schneider <asn@samba.org> | 2016-08-26 16:54:12 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2016-08-31 20:59:14 +0200 |
commit | be21e7f2038320a8a13b69e07af98eba112648d4 (patch) | |
tree | ce2acce5348dcc0cf4bfed38edb00f8127448a7a | |
parent | 7fe150cbb2e914bb0a9f6fc99ea6fb90195ed01f (diff) | |
download | samba-be21e7f2038320a8a13b69e07af98eba112648d4.tar.gz |
krb5_wrap: Move krb5_free_unparsed_name() to the top
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | lib/krb5_wrap/krb5_samba.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/krb5_wrap/krb5_samba.c b/lib/krb5_wrap/krb5_samba.c index 88f060666a4..201a1a3cac8 100644 --- a/lib/krb5_wrap/krb5_samba.c +++ b/lib/krb5_wrap/krb5_samba.c @@ -106,6 +106,13 @@ krb5_error_code krb5_auth_con_setuseruserkey(krb5_context context, } #endif +#if !defined(HAVE_KRB5_FREE_UNPARSED_NAME) +void krb5_free_unparsed_name(krb5_context context, char *val) +{ + SAFE_FREE(val); +} +#endif + /********************************************************** * WRAPPING FUNCTIONS @@ -435,13 +442,6 @@ krb5_error_code smb_krb5_parse_name(krb5_context context, return ret; } -#if !defined(HAVE_KRB5_FREE_UNPARSED_NAME) -void krb5_free_unparsed_name(krb5_context context, char *val) -{ - SAFE_FREE(val); -} -#endif - /************************************************************** krb5_parse_name that returns a UNIX charset name. Must be freed with talloc_free() call. |