projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add IS_ALIGNED macro to test alignment of a pointer
[bertos.git]
/
bertos
/
io
/
kblock_posix.c
diff --git
a/bertos/io/kblock_posix.c
b/bertos/io/kblock_posix.c
index b1186ff28ee75260b0fddab248f186a312f75fd3..eefea0d10e58c3e953ff77b22a81fed1d156f771 100644
(file)
--- a/
bertos/io/kblock_posix.c
+++ b/
bertos/io/kblock_posix.c
@@
-95,11
+95,10
@@
static int kblockposix_error(struct KBlock *b)
}
-static
int
kblockposix_claererr(struct KBlock *b)
+static
void
kblockposix_claererr(struct KBlock *b)
{
KBlockPosix *f = KBLOCKPOSIX_CAST(b);
clearerr(f->fp);
- return 0;
}