X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fio%2Fkblock_posix.c;h=eefea0d10e58c3e953ff77b22a81fed1d156f771;hb=ed914dcd14bb340d61a8bc011ec0cd7a0312ed79;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; }