aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/lib/streams
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/lib/streams')
-rw-r--r--os/hal/lib/streams/memstreams.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/os/hal/lib/streams/memstreams.c b/os/hal/lib/streams/memstreams.c
index e8c561576..d949d1674 100644
--- a/os/hal/lib/streams/memstreams.c
+++ b/os/hal/lib/streams/memstreams.c
@@ -43,7 +43,7 @@
/* Driver local functions. */
/*===========================================================================*/
-static size_t writes(void *ip, const uint8_t *bp, size_t n) {
+static size_t _writes(void *ip, const uint8_t *bp, size_t n) {
MemoryStream *msp = ip;
if (msp->size - msp->eos < n)
@@ -53,7 +53,7 @@ static size_t writes(void *ip, const uint8_t *bp, size_t n) {
return n;
}
-static size_t reads(void *ip, uint8_t *bp, size_t n) {
+static size_t _reads(void *ip, uint8_t *bp, size_t n) {
MemoryStream *msp = ip;
if (msp->eos - msp->offset < n)
@@ -63,7 +63,7 @@ static size_t reads(void *ip, uint8_t *bp, size_t n) {
return n;
}
-static msg_t put(void *ip, uint8_t b) {
+static msg_t _put(void *ip, uint8_t b) {
MemoryStream *msp = ip;
if (msp->size - msp->eos <= 0)
@@ -73,7 +73,7 @@ static msg_t put(void *ip, uint8_t b) {
return MSG_OK;
}
-static msg_t get(void *ip) {
+static msg_t _get(void *ip) {
uint8_t b;
MemoryStream *msp = ip;
@@ -84,7 +84,7 @@ static msg_t get(void *ip) {
return b;
}
-static const struct MemStreamVMT vmt = {writes, reads, put, get};
+static const struct MemStreamVMT vmt = {_writes, _reads, _put, _get};
/*===========================================================================*/
/* Driver exported functions. */