diff options
author | Alvaro Silva <alvaro.silva@openbossa.org> | 2013-07-19 13:34:13 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-07-24 08:42:32 -0700 |
commit | 9abeec8c11d45e962c5713e4fbe3f9ab83f8cd66 (patch) | |
tree | 513cf28f5c9f33d6a26bea959c56add9e9c50652 /attrib | |
parent | 969906d6aa96214ed81129f0c8bec03fce3d2c28 (diff) | |
download | bluez-9abeec8c11d45e962c5713e4fbe3f9ab83f8cd66.tar.gz |
attrib: Remove unused parameter from enc_write_resp()
Diffstat (limited to 'attrib')
-rw-r--r-- | attrib/att.c | 2 | ||||
-rw-r--r-- | attrib/att.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/attrib/att.c b/attrib/att.c index 675deb6cd..20a299ac0 100644 --- a/attrib/att.c +++ b/attrib/att.c @@ -559,7 +559,7 @@ uint16_t dec_write_req(const uint8_t *pdu, size_t len, uint16_t *handle, return len; } -uint16_t enc_write_resp(uint8_t *pdu, size_t len) +uint16_t enc_write_resp(uint8_t *pdu) { if (pdu == NULL) return 0; diff --git a/attrib/att.h b/attrib/att.h index ebdb98e02..7b585e38e 100644 --- a/attrib/att.h +++ b/attrib/att.h @@ -233,7 +233,7 @@ uint16_t enc_write_req(uint16_t handle, const uint8_t *value, size_t vlen, uint8_t *pdu, size_t len); uint16_t dec_write_req(const uint8_t *pdu, size_t len, uint16_t *handle, uint8_t *value, size_t *vlen); -uint16_t enc_write_resp(uint8_t *pdu, size_t len); +uint16_t enc_write_resp(uint8_t *pdu); uint16_t dec_write_resp(const uint8_t *pdu, size_t len); uint16_t enc_read_req(uint16_t handle, uint8_t *pdu, size_t len); uint16_t enc_read_blob_req(uint16_t handle, uint16_t offset, uint8_t *pdu, |