summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-07-15 18:20:32 -0300
committerMarcel Holtmann <marcel@holtmann.org>2012-07-29 20:01:50 -0700
commitd7dfab4c59bdcace3dead160cbd4a26b1d3db71a (patch)
tree736d4c62f0968e68edd0c84d37e4354090afd60f
parent6d50bedbfddb049717b12c693747fab65545e2f9 (diff)
downloadsbc-d7dfab4c59bdcace3dead160cbd4a26b1d3db71a.tar.gz
build: Add private SBC library header
-rw-r--r--Makefile.am2
-rw-r--r--sbc/sbc_private.h25
2 files changed, 26 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 3cae31a..0a4916f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,7 +3,7 @@ AM_MAKEFLAGS = --no-print-directory
sbc_headers = sbc/sbc.h
-sbc_sources = sbc/sbc.c sbc/sbc_math.h sbc/sbc_tables.h \
+sbc_sources = sbc/sbc.c sbc/sbc_private.h sbc/sbc_math.h sbc/sbc_tables.h \
sbc/sbc_primitives.h sbc/sbc_primitives.c \
sbc/sbc_primitives_mmx.h sbc/sbc_primitives_mmx.c \
sbc/sbc_primitives_iwmmxt.h sbc/sbc_primitives_iwmmxt.c \
diff --git a/sbc/sbc_private.h b/sbc/sbc_private.h
new file mode 100644
index 0000000..15c4421
--- /dev/null
+++ b/sbc/sbc_private.h
@@ -0,0 +1,25 @@
+/*
+ *
+ * Bluetooth low-complexity, subband codec (SBC) library
+ *
+ * Copyright (C) 2008-2010 Nokia Corporation
+ * Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org>
+ *
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#define LIB_EXPORT __attribute__ ((visibility("default")))