diff options
-rw-r--r-- | include/sdp_lib.h | 5 | ||||
-rw-r--r-- | src/sdp.c | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/sdp_lib.h b/include/sdp_lib.h index dbc836b2..34082579 100644 --- a/include/sdp_lib.h +++ b/include/sdp_lib.h @@ -592,11 +592,6 @@ void sdp_pattern_add_uuidseq(sdp_record_t *rec, sdp_list_t *seq); int sdp_send_req_w4_rsp(sdp_session_t *session, uint8_t *req, uint8_t *rsp, uint32_t reqsize, uint32_t *rspsize); -typedef struct { - uint8_t length; - unsigned char data[16]; -} __attribute__ ((packed)) sdp_cstate_t; - #ifdef __cplusplus } #endif @@ -2720,6 +2720,11 @@ static int gen_attridseq_pdu(uint8_t *dst, const sdp_list_t *seq, uint8_t dataTy return gen_dataseq_pdu(dst, seq, dataType); } +typedef struct { + uint8_t length; + unsigned char data[16]; +} __attribute__ ((packed)) sdp_cstate_t; + static int copy_cstate(uint8_t *pdata, const sdp_cstate_t *cstate) { if (cstate) { |