From e4580fe4ccfa1482bf57fa3722580f1c8946aeec Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Wed, 18 May 2011 22:00:37 -0700 Subject: [PATCH] add glue for krb5_einval --- lib/krb5/krb5_locl.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/krb5/krb5_locl.h b/lib/krb5/krb5_locl.h index bdd725e9e..ef5fb5997 100644 --- a/lib/krb5/krb5_locl.h +++ b/lib/krb5/krb5_locl.h @@ -188,6 +188,12 @@ struct _krb5_krb_auth_data; #define ALLOC(X, N) (X) = calloc((N), sizeof(*(X))) #define ALLOC_SEQ(X, N) do { (X)->len = (N); ALLOC((X)->val, (N)); } while(0) +#ifndef __func__ +#define __func__ "unknown-function" +#endif + +#define krb5_einval(context, argnum) _krb5_einval((context), __func__, (argnum)) + #ifndef PATH_SEP #define PATH_SEP ":" #endif -- 2.11.4.GIT