Ignore:
Timestamp:
Jun 22, 2007, 4:30:39 AM (14 years ago)
Author:
charles
Message:

misc cleanup.. ansification; fix my own typos, etc...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/platform.c

    r2155 r2184  
    265265}
    266266
     267void tr_lockLock( tr_lock_t * l )
     268{
     269#ifdef SYS_BEOS
     270    acquire_sem( *l );
     271#else
     272    pthread_mutex_lock( l );
     273#endif
     274}
     275
     276void tr_lockUnlock( tr_lock_t * l )
     277{
     278#ifdef SYS_BEOS
     279    release_sem( *l );
     280#else
     281    pthread_mutex_unlock( l );
     282#endif
     283}
     284
    267285
    268286void tr_condInit( tr_cond_t * c )
Note: See TracChangeset for help on using the changeset viewer.