diff options
-rw-r--r-- | auth/gensec/gensec.h | 1 | ||||
-rw-r--r-- | auth/gensec/gensec_start.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/auth/gensec/gensec.h b/auth/gensec/gensec.h index efbbabe171..396a16dc24 100644 --- a/auth/gensec/gensec.h +++ b/auth/gensec/gensec.h @@ -193,6 +193,7 @@ struct gensec_critical_sizes { int sizeof_gensec_security_ops; int sizeof_gensec_security; }; +const struct gensec_critical_sizes *gensec_interface_version(void); /* Socket wrapper */ diff --git a/auth/gensec/gensec_start.c b/auth/gensec/gensec_start.c index d3145ec581..3af4b48561 100644 --- a/auth/gensec/gensec_start.c +++ b/auth/gensec/gensec_start.c @@ -875,7 +875,7 @@ _PUBLIC_ NTSTATUS gensec_register(const struct gensec_security_ops *ops) This can be used by backends to either detect compilation errors, or provide multiple implementations for different smbd compilation options in one module */ -const struct gensec_critical_sizes *gensec_interface_version(void) +_PUBLIC_ const struct gensec_critical_sizes *gensec_interface_version(void) { static const struct gensec_critical_sizes critical_sizes = { GENSEC_INTERFACE_VERSION, |