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