bluez-alsa: removed the PCM hack, and build a shared lib
[AGL/meta-agl-devel.git] / meta-audio-4a-framework / recipes-connectivity / bluez-alsa / bluez-alsa / 0002-log-add-calling-function-name.patch
1 From 9f8cca2a4c2efb9d9069e26f2e953cee586d6127 Mon Sep 17 00:00:00 2001
2 From: Thierry Bultel <thierry.bultel@iot.bzh>
3 Date: Mon, 3 Dec 2018 14:31:31 +0100
4 Subject: [PATCH 2/3] log: add calling function name
5
6 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
7 ---
8  includes/bluealsa/log.h | 2 +-
9  1 file changed, 1 insertion(+), 1 deletion(-)
10
11 diff --git a/includes/bluealsa/log.h b/includes/bluealsa/log.h
12 index 39663fb..6d4cec3 100644
13 --- a/includes/bluealsa/log.h
14 +++ b/includes/bluealsa/log.h
15 @@ -31,7 +31,7 @@ void info(const char *format, ...) __attribute__ ((format(printf, 1, 2)));
16  
17  #if DEBUG
18  void _debug(const char *format, ...) __attribute__ ((format(printf, 1, 2)));
19 -# define debug(M, ARGS ...) _debug("%s:%d: " M, __FILE__, __LINE__, ## ARGS)
20 +# define debug(M, ARGS ...) _debug("%s:%d:%s: " M, __FILE__, __LINE__,__func__, ## ARGS)
21  #else
22  # define debug(M, ARGS ...) do {} while (0)
23  #endif
24 -- 
25 2.16.4
26