[BACK]Return to reentrant.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / include

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/include/reentrant.h between version 1.18.4.1 and 1.19

version 1.18.4.1, 2017/04/21 16:53:09 version 1.19, 2017/02/08 16:13:40
Line 278  __END_DECLS
Line 278  __END_DECLS
   
 #else /* _REENTRANT */  #else /* _REENTRANT */
   
 #define mutex_init(m, a) __nothing  #define mutex_init(m, a) __empty
 #define mutex_lock(m) __nothing  #define mutex_lock(m) __empty
 #define mutex_trylock(m) __nothing  #define mutex_trylock(m) __empty
 #define mutex_unlock(m) __nothing  #define mutex_unlock(m) __empty
 #define mutex_destroy(m) __nothing  #define mutex_destroy(m) __empty
   
 #define cond_init(c, t, a) __nothing  #define cond_init(c, t, a) __empty
 #define cond_signal(c) __nothing  #define cond_signal(c) __empty
 #define cond_broadcast(c) __nothing  #define cond_broadcast(c) __empty
 #define cond_wait(c, m) __nothing  #define cond_wait(c, m) __empty
 #define cond_timedwait(c, m, t) __nothing  #define cond_timedwait(c, m, t) __empty
 #define cond_destroy(c) __nothing  #define cond_destroy(c) __empty
   
 #define rwlock_init(l, a) __nothing  #define rwlock_init(l, a) __empty
 #define rwlock_rdlock(l) __nothing  #define rwlock_rdlock(l) __empty
 #define rwlock_wrlock(l) __nothing  #define rwlock_wrlock(l) __empty
 #define rwlock_tryrdlock(l) __nothing  #define rwlock_tryrdlock(l) __empty
 #define rwlock_trywrlock(l) __nothing  #define rwlock_trywrlock(l) __empty
 #define rwlock_unlock(l) __nothing  #define rwlock_unlock(l) __empty
 #define rwlock_destroy(l) __nothing  #define rwlock_destroy(l) __empty
   
 #define thr_keycreate(k, d) /*LINTED*/0  #define thr_keycreate(k, d) /*LINTED*/0
 #define thr_setspecific(k, p) __nothing  #define thr_setspecific(k, p) __empty
 #define thr_getspecific(k) /*LINTED*/0  #define thr_getspecific(k) /*LINTED*/0
 #define thr_keydelete(k) __nothing  #define thr_keydelete(k) __empty
   
 #define mutexattr_init(ma) __nothing  #define mutexattr_init(ma) __empty
 #define mutexattr_settype(ma, t) __nothing  #define mutexattr_settype(ma, t) __empty
 #define mutexattr_destroy(ma) __nothing  #define mutexattr_destroy(ma) __empty
   
 static inline int  static inline int
 thr_once(once_t *once_control, void (*routine)(void))  thr_once(once_t *once_control, void (*routine)(void))
Line 317  thr_once(once_t *once_control, void (*ro
Line 317  thr_once(once_t *once_control, void (*ro
         }          }
         return 0;          return 0;
 }  }
 #define thr_sigsetmask(f, n, o) __nothing  #define thr_sigsetmask(f, n, o) __empty
 #define thr_self() __nothing  #define thr_self() __empty
 #define thr_errno() __nothing  #define thr_errno() __empty
 #define thr_curcpu()            ((unsigned int)0)  #define thr_curcpu()            ((unsigned int)0)
   
 #define FLOCKFILE(fp) __nothing  #define FLOCKFILE(fp) __empty
 #define FUNLOCKFILE(fp) __nothing  #define FUNLOCKFILE(fp) __empty
   
 #endif /* _REENTRANT */  #endif /* _REENTRANT */

Legend:
Removed from v.1.18.4.1  
changed lines
  Added in v.1.19

CVSweb <webmaster@jp.NetBSD.org>