Update preset.
[bertos.git] / bertos / io / kblock_posix.c
index b1186ff28ee75260b0fddab248f186a312f75fd3..eefea0d10e58c3e953ff77b22a81fed1d156f771 100644 (file)
@@ -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;
 }