summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-12-16 10:31:50 +0100
committerDavid Robillard <d@drobilla.net>2017-12-16 10:31:50 +0100
commitd2a353d16cffb48f87e44d0db31c27e8bd810bb4 (patch)
tree9920ad888bdc16a44253292afe96450042d6a893
parentd551d03a33c23010c63874ce41fe3c30781f3b75 (diff)
downloadsuil-d2a353d16cffb48f87e44d0db31c27e8bd810bb4.tar.gz
suil-d2a353d16cffb48f87e44d0db31c27e8bd810bb4.tar.bz2
suil-d2a353d16cffb48f87e44d0db31c27e8bd810bb4.zip
Fix unused function warning for non-X11 builds
-rw-r--r--src/host.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/host.c b/src/host.c
index e82e377..f64f9c5 100644
--- a/src/host.c
+++ b/src/host.c
@@ -57,6 +57,7 @@ suil_host_free(SuilHost* host)
}
}
+#ifdef SUIL_WITH_X11
static void
suil_load_init_module(const char* module_name)
{
@@ -74,6 +75,7 @@ suil_load_init_module(const char* module_name)
dlclose(lib);
}
+#endif
SUIL_API
void