OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
818d0f2
)
Add missing include.
author
Dan Albert
<danalbert@google.com>
Tue, 9 Jun 2015 23:53:45 +0000
(16:53 -0700)
committer
Dan Albert
<danalbert@google.com>
Wed, 10 Jun 2015 00:03:28 +0000
(
00:03
+0000)
osi_malloc was never included, so it was implicitly defined as
returning an integer (thank you, C). Clang caught the int to pointer
conversion error.
Change-Id: I0d8a3363d92cb72a22780d049a53e193d2e50ec5
btif/src/btif_sdp_server.c
patch
|
blob
|
history
diff --git
a/btif/src/btif_sdp_server.c
b/btif/src/btif_sdp_server.c
index
d0e09b3
..
5be23f0
100644
(file)
--- a/
btif/src/btif_sdp_server.c
+++ b/
btif/src/btif_sdp_server.c
@@
-32,6
+32,7
@@
#include <pthread.h>
#define LOG_TAG "BTIF_SDP_SERVER"
+#include "allocator.h"
#include "btif_common.h"
#include "btif_util.h"
#include "bta_sdp_api.h"