git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ebaa002
)
heimdal: Use #ifdef HAVE_DLOPEN around functions used only by HAVE_DLOPEN
author
Gary Lockyer
<gary@catalyst.net.nz>
Mon, 25 Sep 2017 01:15:28 +0000
(14:15 +1300)
committer
Douglas Bagnall
<dbagnall@samba.org>
Fri, 7 Aug 2020 03:23:43 +0000
(
03:23
+0000)
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source4/heimdal/lib/krb5/plugin.c
patch
|
blob
|
history
diff --git
a/source4/heimdal/lib/krb5/plugin.c
b/source4/heimdal/lib/krb5/plugin.c
index 9303b6c615b7f51715060284f5aa96ce930bf97d..230bd637abc9ab933e89b144113e7e0f15f9c644 100644
(file)
--- a/
source4/heimdal/lib/krb5/plugin.c
+++ b/
source4/heimdal/lib/krb5/plugin.c
@@
-394,6
+394,8
@@
struct plugin2 {
heim_dict_t names;
};
+#ifdef HAVE_DLOPEN
+
static void
plug_dealloc(void *ptr)
{
@@
-404,6
+406,7
@@
plug_dealloc(void *ptr)
dlclose(p->dsohandle);
}
+#endif /* HAVE_DLOPEN */
void
_krb5_load_plugins(krb5_context context, const char *name, const char **paths)