=================================================================== RCS file: /cvs/prex-old/sys/sync/cond.c,v retrieving revision 1.1.1.1 retrieving revision 1.1.1.1.2.1 diff -u -r1.1.1.1 -r1.1.1.1.2.1 --- prex-old/sys/sync/cond.c 2008/06/03 10:38:46 1.1.1.1 +++ prex-old/sys/sync/cond.c 2008/08/13 17:12:33 1.1.1.1.2.1 @@ -40,8 +40,8 @@ /* * Create and initialize a condition variable (CV). * - * If an initialized condition variable is reinitialized, undefined - * behavior results. + * If an initialized condition variable is reinitialized, + * undefined behavior results. */ int cond_init(cond_t *cond) @@ -64,8 +64,6 @@ /* * cond_copyin - copy a condition variable from user space. - * @uc: pointer to cv in user space. - * @kc: pointer to cv in kernel space. * * It also checks if the passed CV is valid. */ @@ -84,8 +82,9 @@ /* * Destroy a condition variable. - * If there are any blocked thread waiting for the specified CV, - * it returns EBUSY. + * + * If there are any blocked thread waiting for the specified + * CV, it returns EBUSY. */ int cond_destroy(cond_t *cond) @@ -114,8 +113,9 @@ * If the thread receives any exception while waiting CV, this * routine returns immediately with EINTR in order to invoke * exception handler. However, an application assumes this call - * does NOT return with an error. So, the stub routine in a system - * call library must call cond_wait() again if it gets EINTR as error. + * does NOT return with an error. So, the stub routine in a + * system call library must call cond_wait() again if it gets + * EINTR as error. */ int cond_wait(cond_t *cond, mutex_t *mtx)