A const storage class to to phthread parameters. From Freddie Chopin

This commit is contained in:
Gregory Nutt
2014-09-08 06:21:48 -06:00
parent f24072a91b
commit e953fb11cd
9 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -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