diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-23 18:39:39 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-23 18:39:39 +0800 |
commit | f957095385be8ffdd561f892106a9f6a5619e29a (patch) | |
tree | 44761a832e8976cdb284cafc1d5c976ac57d31ef | |
parent | c2c4621a5da8aef1662fc56747f6715659157c79 (diff) |
sccp: u_int16_t -> uint16_t
-rw-r--r-- | openbsc/src/sccp/sccp.c | 4 | ||||
-rw-r--r-- | openbsc/tests/sccp/sccp_test.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/sccp/sccp.c b/openbsc/src/sccp/sccp.c index f85257dfa..5671700ae 100644 --- a/openbsc/src/sccp/sccp.c +++ b/openbsc/src/sccp/sccp.c @@ -168,8 +168,8 @@ static int check_address(struct sccp_address *addr) static int _sccp_parse_optional_data(const int offset, struct msgb *msgb, struct sccp_optional_data *data) { - u_int16_t room = msgb_l2len(msgb) - offset; - u_int16_t read = 0; + uint16_t room = msgb_l2len(msgb) - offset; + uint16_t read = 0; while (room > read) { uint8_t type = msgb->l2h[offset + read]; diff --git a/openbsc/tests/sccp/sccp_test.c b/openbsc/tests/sccp/sccp_test.c index 2594b82d8..3b9ef4ed5 100644 --- a/openbsc/tests/sccp/sccp_test.c +++ b/openbsc/tests/sccp/sccp_test.c @@ -335,7 +335,7 @@ static int write_called = 0; */ int sccp_read_cb(struct msgb *data, unsigned len, void *context) { - u_int16_t payload_length = test_data[current_test].payload_length; + uint16_t payload_length = test_data[current_test].payload_length; const uint8_t *got, *wanted; int i; |