aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/src/os/req_ctx.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-09-28 17:00:51 +0200
committerHarald Welte <laforge@gnumonks.org>2017-03-17 22:20:04 +0100
commit373c172ab858102e1818c8476ab1a2b290685cda (patch)
treea47c5305e5363c4dff8d4dabdc82750dc877a64b /firmware/src/os/req_ctx.c
parent5a40e2fed18ed75c7b8d62f52cf4a7c660a8e026 (diff)
convert from u_int*_t to uint*_t
Diffstat (limited to 'firmware/src/os/req_ctx.c')
-rw-r--r--firmware/src/os/req_ctx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/src/os/req_ctx.c b/firmware/src/os/req_ctx.c
index 722c099..9aba813 100644
--- a/firmware/src/os/req_ctx.c
+++ b/firmware/src/os/req_ctx.c
@@ -38,8 +38,8 @@
#define NUM_REQ_CTX (NUM_RCTX_SMALL+NUM_RCTX_LARGE)
-static u_int8_t rctx_data[NUM_RCTX_SMALL][RCTX_SIZE_SMALL];
-static u_int8_t rctx_data_large[NUM_RCTX_LARGE][RCTX_SIZE_LARGE];
+static uint8_t rctx_data[NUM_RCTX_SMALL][RCTX_SIZE_SMALL];
+static uint8_t rctx_data_large[NUM_RCTX_LARGE][RCTX_SIZE_LARGE];
static struct req_ctx req_ctx[NUM_REQ_CTX];
@@ -79,7 +79,7 @@ struct req_ctx __ramfunc *req_ctx_find_get(int large,
return toReturn;
}
-u_int8_t req_ctx_num(struct req_ctx *ctx)
+uint8_t req_ctx_num(struct req_ctx *ctx)
{
return ctx - req_ctx;
}