Skip to content

Commit

Permalink
lib/krb5: common_plugin_ftable_desc funcs KRB5_LIB_CALL
Browse files Browse the repository at this point in the history
As with the krb5plugin_an2ln_ftable_desc, krb5plugin_db_ftable_desc,
and krb5plugin_kuserok_ftable_desc the function pointers in
common_plugin_ftable_desc must be annotated with KRB5_LIB_CALL.

Change-Id: Ia7ea78743ee9eb8c7f6b648063852ca91a360d2c
  • Loading branch information
jaltman committed Feb 21, 2019
1 parent a47316a commit cdf5201
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/krb5/plugin.c
Expand Up @@ -154,8 +154,8 @@ copy_internal_dso(const char *name)
*/
typedef struct common_plugin_ftable_desc {
int version;
krb5_error_code (*init)(krb5_context, void **);
void (*fini)(void *);
krb5_error_code (KRB5_LIB_CALL *init)(krb5_context, void **);
void (KRB5_LIB_CALL *fini)(void *);
} common_plugin_ftable;

struct krb5_plugin {
Expand Down

0 comments on commit cdf5201

Please sign in to comment.