mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-15 08:14:28 +08:00
Add pragma based workaround for GStreamer warnings
This commit is contained in:
parent
6aabc8a0de
commit
e20bd41482
@ -255,7 +255,7 @@ gstreamerdir = $(libdir)/gstreamer-0.10
|
||||
|
||||
gstreamer_LTLIBRARIES = audio/libgstbluetooth.la
|
||||
|
||||
audio_libgstbluetooth_la_SOURCES = audio/gstbluetooth.c \
|
||||
audio_libgstbluetooth_la_SOURCES = audio/gstbluetooth.c audio/gstpragma.h \
|
||||
audio/gstsbcenc.h audio/gstsbcenc.c \
|
||||
audio/gstsbcdec.h audio/gstsbcdec.c \
|
||||
audio/gstsbcparse.h audio/gstsbcparse.c \
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include <unistd.h>
|
||||
#include <pthread.h>
|
||||
|
||||
#include "gstpragma.h"
|
||||
#include "gsta2dpsink.h"
|
||||
|
||||
GType gst_avdtp_sink_get_type(void);
|
||||
|
@ -40,6 +40,7 @@
|
||||
#include "ipc.h"
|
||||
#include "rtp.h"
|
||||
|
||||
#include "gstpragma.h"
|
||||
#include "gstavdtpsink.h"
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC(avdtp_sink_debug);
|
||||
|
24
audio/gstpragma.h
Normal file
24
audio/gstpragma.h
Normal file
@ -0,0 +1,24 @@
|
||||
/*
|
||||
*
|
||||
* BlueZ - Bluetooth protocol stack for Linux
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma GCC diagnostic warning "-Wmissing-declarations"
|
@ -25,6 +25,7 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "gstpragma.h"
|
||||
#include "gstrtpsbcpay.h"
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
|
@ -27,6 +27,7 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "gstpragma.h"
|
||||
#include "gstsbcutil.h"
|
||||
#include "gstsbcdec.h"
|
||||
|
||||
|
@ -27,6 +27,7 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "gstpragma.h"
|
||||
#include "gstsbcutil.h"
|
||||
#include "gstsbcenc.h"
|
||||
|
||||
|
@ -27,6 +27,7 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "gstpragma.h"
|
||||
#include "gstsbcutil.h"
|
||||
#include "gstsbcparse.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user