diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-31 04:37:26 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-31 04:37:26 +0800 |
commit | 5aa17014deace6d91a5cbb9784a9c05521ba19c8 (patch) | |
tree | 50cc56ab2fa7732216e13755112e7ef3735e4241 /src/mtp_layer3.c | |
parent | 97f66e2b534e2a54c63360a3f8134a0189c54e25 (diff) |
u_int8_t -> uint8_t
Diffstat (limited to 'src/mtp_layer3.c')
-rw-r--r-- | src/mtp_layer3.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mtp_layer3.c b/src/mtp_layer3.c index ef067e5..446e0e9 100644 --- a/src/mtp_layer3.c +++ b/src/mtp_layer3.c @@ -50,11 +50,11 @@ static struct msgb *mtp_msg_alloc(struct mtp_link *link) static struct msgb *mtp_create_sltm(struct mtp_link *link) { - const u_int8_t test_ptrn[14] = { 'G', 'S', 'M', 'M', 'M', 'S', }; + const uint8_t test_ptrn[14] = { 'G', 'S', 'M', 'M', 'M', 'S', }; struct mtp_level_3_hdr *hdr; struct mtp_level_3_mng *mng; struct msgb *msg = mtp_msg_alloc(link); - u_int8_t *data; + uint8_t *data; if (!msg) return NULL; @@ -140,7 +140,7 @@ static struct msgb *mtp_sccp_alloc_ssa(struct mtp_link *link, int sls) struct sccp_data_unitdata *udt; struct sccp_con_ctrl_prt_mgt *prt; struct mtp_level_3_hdr *hdr; - u_int8_t *data; + uint8_t *data; struct msgb *out = mtp_msg_alloc(link); @@ -479,9 +479,9 @@ int mtp_link_data(struct mtp_link *link, struct msgb *msg) return rc; } -int mtp_link_submit_sccp_data(struct mtp_link *link, int sls, const u_int8_t *data, unsigned int length) +int mtp_link_submit_sccp_data(struct mtp_link *link, int sls, const uint8_t *data, unsigned int length) { - u_int8_t *put_ptr; + uint8_t *put_ptr; struct mtp_level_3_hdr *hdr; struct msgb *msg; |