Commits

shl...@52c325ad-5fd0-0310-8a0f-c43feede02cc  committed 7dcda21

Added extern "C" where appropriate.

  • Participants
  • Parent commits 88fd064

Comments (0)

Files changed (1)

File pthreads/pthread/rwlock_fcfs.h

 #ifndef __PTHREAD_RWLOCK_FCFS_H
 #define __PTHREAD_RWLOCK_FCFS_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include <pthread.h>
 
 #include <pthread/rwlock_fcfs_queue.h>
  * */
 extern int pthread_rwlock_fcfs_try_gain_write(pthread_rwlock_fcfs_t * rwlock PTHREAD_RWLOCK_FCFS_DEBUG_ARGS);
 
+#ifdef __cplusplus
+}
+#endif
 
 #endif /* #ifndef __PTHREAD_RWLOCK_FCFS_H */
-
-