diff options
Diffstat (limited to 'src/thread/pthread_rwlock_init.c')
-rw-r--r-- | src/thread/pthread_rwlock_init.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/pthread_rwlock_init.c b/src/thread/pthread_rwlock_init.c index a2c0b478..c5504805 100644 --- a/src/thread/pthread_rwlock_init.c +++ b/src/thread/pthread_rwlock_init.c @@ -6,3 +6,11 @@ int pthread_rwlock_init(pthread_rwlock_t *restrict rw, const pthread_rwlockattr_ if (a) rw->_rw_shared = a->__attr[0]*128; return 0; } + + +#ifdef TEST +int +main(void) { + return 0; +} +#endif |