+/* $OpenLDAP$ */
/*
- * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
+ * Copyright 1998-2000 The OpenLDAP Foundation, Redwood City, California, USA
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted only
/* thr_cthreads.c - wrapper for mach cthreads */
#include "portable.h"
-#include "ldap_pvt_thread.h"
#if defined( HAVE_MACH_CTHREADS )
+#include "ldap_pvt_thread.h"
/***********************************************************************
* *
ldap_pvt_thread_join( ldap_pvt_thread_t thread, void **thread_return )
{
void *status;
- status = (void *) cthread_join ( tid );
+ status = (void *) cthread_join ( thread );
if (thread_return != NULL)
{
*thread_return = status;