mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
A const storage class to to phthread parameters. From Freddie Chopin
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int pthread_mutex_init(FAR pthread_mutex_t *mutex, FAR pthread_mutexattr_t *attr)
|
||||
int pthread_mutex_init(FAR pthread_mutex_t *mutex, FAR const pthread_mutexattr_t *attr)
|
||||
{
|
||||
int pshared = 0;
|
||||
#ifdef CONFIG_MUTEX_TYPES
|
||||
|
||||
Reference in New Issue
Block a user