summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--software/libosmosdr/src/Makefile.am2
-rw-r--r--software/libosmosdr/src/libosmosdr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/software/libosmosdr/src/Makefile.am b/software/libosmosdr/src/Makefile.am
index 873559d..888ec41 100644
--- a/software/libosmosdr/src/Makefile.am
+++ b/software/libosmosdr/src/Makefile.am
@@ -3,7 +3,7 @@
LIBVERSION=0:0:0
INCLUDES = $(all_includes) -I$(top_srcdir)/include
-AM_CFLAGS = -fPIC -Wall
+AM_CFLAGS = ${CFLAGS} -fPIC ${SYMBOL_VISIBILITY}
lib_LTLIBRARIES = libosmosdr.la
diff --git a/software/libosmosdr/src/libosmosdr.c b/software/libosmosdr/src/libosmosdr.c
index c52924b..b853b0f 100644
--- a/software/libosmosdr/src/libosmosdr.c
+++ b/software/libosmosdr/src/libosmosdr.c
@@ -555,7 +555,7 @@ int osmosdr_set_fpga_iq_ofs(osmosdr_dev_t *dev, int16_t iofs, int16_t qofs)
buffer, sizeof(buffer), CTRL_TIMEOUT);
}
-osmosdr_dongle_t *find_known_device(uint16_t vid, uint16_t pid)
+static osmosdr_dongle_t *find_known_device(uint16_t vid, uint16_t pid)
{
unsigned int i;
osmosdr_dongle_t *device = NULL;