diff --git a/lib/hdb/hdb.h b/lib/hdb/hdb.h index c1654a170..892b8e598 100644 --- a/lib/hdb/hdb.h +++ b/lib/hdb/hdb.h @@ -277,8 +277,8 @@ typedef struct HDB { struct hdb_method { int version; - krb5_error_code (KRB5_LIB_CALL *init)(krb5_context, void **); - void (KRB5_LIB_CALL *fini)(void *); + krb5_error_code (*init)(krb5_context, void **); + void (*fini)(void *); const char *prefix; krb5_error_code (*create)(krb5_context, HDB **, const char *filename); }; diff --git a/lib/hdb/test_hdbplugin.c b/lib/hdb/test_hdbplugin.c index e79572b93..7cc6e852e 100644 --- a/lib/hdb/test_hdbplugin.c +++ b/lib/hdb/test_hdbplugin.c @@ -39,7 +39,7 @@ struct hdb_called { }; struct hdb_called testresult; -static krb5_error_code KRB5_LIB_CALL +static krb5_error_code hdb_test_create(krb5_context context, struct HDB **db, const char *arg) { testresult.create = 1;