summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-23 04:35:02 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-23 04:35:02 +0100
commitbe2ffca847c7537f01b90c7933a2b288306b1f0b (patch)
tree8f4d4bba6c27dc8168d54164119889a1262cc59a /lib
parent86984e4b0e58517aa3e50e4678f5f7b0165d85d4 (diff)
Make internally used functions static
Diffstat (limited to 'lib')
-rw-r--r--lib/sdp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sdp.c b/lib/sdp.c
index 83ad4e2c..86ba50e2 100644
--- a/lib/sdp.c
+++ b/lib/sdp.c
@@ -655,7 +655,7 @@ void sdp_set_seq_len(uint8_t *ptr, uint32_t length)
}
}
-int sdp_set_data_type(sdp_buf_t *buf, uint8_t dtd)
+static int sdp_set_data_type(sdp_buf_t *buf, uint8_t dtd)
{
int orig = buf->data_size;
uint8_t *p = buf->data + buf->data_size;
@@ -1578,7 +1578,7 @@ sdp_data_t *sdp_data_get(const sdp_record_t *rec, uint16_t attrId)
return NULL;
}
-int sdp_send_req(sdp_session_t *session, uint8_t *buf, uint32_t size)
+static int sdp_send_req(sdp_session_t *session, uint8_t *buf, uint32_t size)
{
uint32_t sent = 0;
@@ -1591,7 +1591,7 @@ int sdp_send_req(sdp_session_t *session, uint8_t *buf, uint32_t size)
return 0;
}
-int sdp_read_rsp(sdp_session_t *session, uint8_t *buf, uint32_t size)
+static int sdp_read_rsp(sdp_session_t *session, uint8_t *buf, uint32_t size)
{
fd_set readFds;
struct timeval timeout = { SDP_RESPONSE_TIMEOUT, 0 };