Joel Sherrill started a new discussion on cpukit/posix/src/semclockwait.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/669#note_130760

 > +#ifdef HAVE_CONFIG_H
 > +#include "config.h"
 > +#endif
 > +
 > +#include <rtems/posix/semaphoreimpl.h>
 > +#include <rtems/posix/posixapi.h>
 > +#include <rtems/score/todimpl.h>
 > +
 > +int sem_clockwait(
 > +  sem_t                 *__restrict _sem,
 > +  clockid_t             clock_id,
 > +  const struct timespec *__restrict abstime
 > +)
 > +{
 > +  
 > +  if (!_POSIX_Is_valid_clock_id( clock_id ) ){

Move this below the variable declarations and lose the blank line that is now 
line 50.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/669#note_130760
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

Reply via email to