[RTEMS Project] #3343: pthread_mutex_getprioceiling() has incorrect prototype

RTEMS trac trac at rtems.org
Wed Mar 14 22:34:01 UTC 2018


#3343: pthread_mutex_getprioceiling() has incorrect prototype
----------------------------+----------------------
  Reporter:  Joel Sherrill  |      Owner:  joel
      Type:  defect         |     Status:  assigned
  Priority:  normal         |  Milestone:  5.1
 Component:  posix          |    Version:  5
  Severity:  normal         |   Keywords:
Blocked By:                 |   Blocking:
----------------------------+----------------------
 We are missing the const and restrict on the first parameter. This
 requires a change to newlib and RTEMS. The correct prototype is:

 int pthread_mutex_getprioceiling(
   const pthread_mutex_t   *restrict mutex,
   int                     *prioceiling
 )

--
Ticket URL: <http://devel.rtems.org/ticket/3343>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list