From 90c58250ed8f10996000bc6cea10385f97969847 Mon Sep 17 00:00:00 2001 From: cbdev Date: Sat, 23 Mar 2019 14:30:11 +0100 Subject: Fix link visibilities --- backends/ola.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends') diff --git a/backends/ola.cpp b/backends/ola.cpp index 299c883..c9c535c 100644 --- a/backends/ola.cpp +++ b/backends/ola.cpp @@ -153,7 +153,7 @@ static int ola_handle(size_t num, managed_fd* fds){ return 0; } -void ola_data_receive(unsigned int universe, const ola::DmxBuffer& ola_dmx, const std::string& error) { +static void ola_data_receive(unsigned int universe, const ola::DmxBuffer& ola_dmx, const std::string& error) { size_t p, max_mark = 0; //this should really be size_t but ola is weird... unsigned int dmx_length = 512; @@ -214,7 +214,7 @@ void ola_data_receive(unsigned int universe, const ola::DmxBuffer& ola_dmx, cons } } -void ola_register_callback(const std::string &error) { +static void ola_register_callback(const std::string &error) { if(!error.empty()){ fprintf(stderr, "OLA backend failed to register for universe: %s\n", error.c_str()); } -- cgit v1.2.3