cmd: add krb5_enomem() definition

Heimdal's expand_path.c now makes use of a new function krb5_enomem()
which is a wrapper around krb5_set_error_message().  Add a dummy
implementation to src/cmd/krb5_locl.h so that expand_path.c can
build within the OpenAFS tree.

Change-Id: I9616604dfd7e0844b7e09576c76d844b1cb678dc
Reviewed-on: http://gerrit.openafs.org/7624
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
This commit is contained in:
Jeffrey Altman 2012-07-02 11:52:34 -04:00
parent a41ab06496
commit 0e327b4982

View File

@ -57,6 +57,10 @@ static void krb5_set_error_message(krb5_context context, krb5_error_code ret,
#include <shlobj.h>
static krb5_error_code krb5_enomem(krb5_context context) {
return ENOMEM;
}
static int _krb5_expand_path_tokens(krb5_context, const char *, char**);
int