~n-muench/ubuntu/oneiric/open-vm-tools/open-vm-tools.fix-836277

« back to all changes in this revision

Viewing changes to modules/freebsd/vmhgfs/os.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-10-23 15:32:00 UTC
  • mfrom: (1.1.2 upstream) (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20081023153200-gc1bfx89hj35c799
Tags: 2008.10.10-123053-2
* Correcting typo in dh_installinit call.
* Downgrading depends on module-assistant to recommends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
304
304
/*
305
305
 *----------------------------------------------------------------------------
306
306
 *
307
 
 * os_mutex_destroy --
 
307
 * os_mutex_free --
308
308
 *
309
 
 *      Destroy a FreeBSD mutex in an OS independent way.
 
309
 *      Frees a FreeBSD mutex in an OS independent way.
310
310
 *
311
311
 * Results:
312
312
 *      None.
318
318
 */
319
319
 
320
320
void
321
 
os_mutex_destroy(OS_MUTEX_T *mtx) // IN
 
321
os_mutex_free(OS_MUTEX_T *mtx) // IN
322
322
{
323
323
   mtx_destroy(mtx);
324
324
   os_free(mtx, sizeof *mtx);
401
401
/*
402
402
 *----------------------------------------------------------------------------
403
403
 *
404
 
 * os_rw_lock_destory --
 
404
 * os_rw_lock_free --
405
405
 *
406
 
 *      Destroy a FreeBSD rwlock in an OS independent way.
 
406
 *      Frees a FreeBSD rwlock in an OS independent way.
407
407
 *
408
408
 * Results:
409
409
 *      None.
415
415
 */
416
416
 
417
417
void
418
 
os_rw_lock_destroy(OS_RWLOCK_T *lck) // IN
 
418
os_rw_lock_free(OS_RWLOCK_T *lck) // IN
419
419
{
420
420
   sx_destroy(lck);
421
421
   os_free(lck, sizeof *lck);