X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fio%2Fkblock_posix.c;h=eefea0d10e58c3e953ff77b22a81fed1d156f771;hb=5bb1f1a99a0ac8e07b5591779416cff925f4b2af;hp=b1186ff28ee75260b0fddab248f186a312f75fd3;hpb=6319f9311847a277c84495e49019d9f8b7db8aca;p=bertos.git diff --git a/bertos/io/kblock_posix.c b/bertos/io/kblock_posix.c index b1186ff2..eefea0d1 100644 --- 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; }