OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5fdd00
)
Mark sdp_gen_buffer static.
author
Luiz Augusto von Dentz
<luiz.dentz@openbossa.org>
Mon, 18 May 2009 21:52:58 +0000
(18:52 -0300)
committer
Luiz Augusto von Dentz
<luiz.dentz@openbossa.org>
Mon, 18 May 2009 21:53:50 +0000
(18:53 -0300)
lib/sdp.c
patch
|
blob
|
history
diff --git
a/lib/sdp.c
b/lib/sdp.c
index
1df83ea
..
0541b52
100644
(file)
--- a/
lib/sdp.c
+++ b/
lib/sdp.c
@@
-99,7
+99,7
@@
static uint128_t bluetooth_base_uuid = {
static sdp_data_t *sdp_copy_seq(sdp_data_t *data);
static int sdp_attr_add_new_with_length(sdp_record_t *rec,
uint16_t attr, uint8_t dtd, const void *value, uint32_t len);
-int sdp_gen_buffer(sdp_buf_t *buf, sdp_data_t *d);
+
static
int sdp_gen_buffer(sdp_buf_t *buf, sdp_data_t *d);
/* Message structure. */
struct tupla {
@@
-809,7
+809,7
@@
static int sdp_get_data_size(sdp_buf_t *buf, sdp_data_t *d)
}
-int sdp_gen_buffer(sdp_buf_t *buf, sdp_data_t *d)
+
static
int sdp_gen_buffer(sdp_buf_t *buf, sdp_data_t *d)
{
int orig = buf->buf_size;