This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH] pthread.h Prototype Corrections
- From: Joel Sherrill <joel at rtems dot org>
- To: newlib at sourceware dot org
- Cc: Joel Sherrill <joel at rtems dot org>
- Date: Wed, 14 Mar 2018 17:53:32 -0500
- Subject: [PATCH] pthread.h Prototype Corrections
Hi
In running a conformance test, we discovered that two pthread.h
prototypes are wrong.
int pthread_mutex_getprioceiling(
const pthread_mutex_t *restrict mutex,
int *prioceiling
);
int pthread_setschedparam(
pthread_t thread,
int policy,
const struct sched_param *param
);
Being a bit paranoid about this and would appreciate a double-check
on this one since it is a standards conformance issue.
Thanks.
Joel Sherrill (1):
Correct prototypes of pthread_mutex_getprioceiling() and
pthread_setschedparam()
newlib/libc/include/pthread.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--
1.8.3.1