Implement strings.h macros as inline functions when possible for better C++ compatibility.

This commit is contained in:
Gregory Nutt
2017-02-22 10:20:58 -06:00
parent 22a8c2178d
commit cb7c5f9921
3 changed files with 63 additions and 25 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ int pthread_mutex_lock(FAR pthread_mutex_t *mutex)
ret = pthread_takesemaphore((FAR sem_t *)&mutex->sem);
/* If we succussfully obtained the semaphore, then indicate
/* If we successfully obtained the semaphore, then indicate
* that we own it.
*/