Joel Sherrill commented on a discussion on cpukit/libblock/src/flashdisk.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/912#note_139669 > #define rtems_fdisk_calc_crc16(_b, _c) \ > rtems_fdisk_crc16_factor[((_b) ^ ((_c) & 0xff)) & 0xff] ^ (((_c) >> 8) & > 0xff) > > +/** > + * this describes the current state of mutext initialisation > + * whether the mutext on the current stage is initialised or not > + */ > +typedef enum > +{ > + MUTEX_NOT_INITIALIZED = 0, > + MUTEX_INITIALIZED > +} rtems_mutex_state_t; It looks like it could be a boolean. And it should not use a name like that. Starting with rtems_ implies it is a public API. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/912#note_139669 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
