X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fkfile.h;h=bcc88e7218751bd2b4862eb3329b980915e767d4;hb=2c856edc9728d1f74a614b2009dc9372aae79aa2;hp=1f352699610af7282d2e530e7399fb8b054c5593;hpb=21f92eace872a7e12382cff9aa6e3364f25857aa;p=bertos.git diff --git a/bertos/kern/kfile.h b/bertos/kern/kfile.h index 1f352699..bcc88e72 100644 --- a/bertos/kern/kfile.h +++ b/bertos/kern/kfile.h @@ -47,16 +47,16 @@ * { * KFile fd; * Serial *ser; - * } SerialKFile; + * } Serial; * \endcode * * You should also supply a macro for casting KFile to SerialKFile: * * \code - * INLINE SerialKFile * SERIALKFILE(KFile *fd) + * INLINE Serial * SERIAL_CAST(KFile *fd) * { * ASSERT(fd->_type == KFT_SERIAL); - * return (SerialKFile *)fd; + * return (Serial *)fd; * } * \endcode *