std_whence = SEEK_END;
break;
case KSM_SEEK_SET:
- /* fall */
- default:
std_whence = SEEK_SET;
+ break;
+ default:
+ ASSERT(0);
}
return fseek(fd->fp, offset, std_whence);
return fflush(fd->fp);
}
-FILE* kfile_posix_init(KFilePosix *file, const char *filename, const char *mode)
+FILE *kfile_posix_init(KFilePosix *file, const char *filename, const char *mode)
{
file->fd._type = KFT_KFILEPOSIX;
file->fd.read = kfile_posix_read;