Commits

Anonymous committed 7dcda21

Added extern "C" where appropriate.

Comments (0)

Files changed (1)

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 */
-
-