From: Ken Raeburn Date: Thu, 31 Dec 2009 03:37:34 +0000 (+0000) Subject: Convert C++ style comments into traditional C comments X-Git-Tag: krb5-1.8-alpha1~40 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=382803ac70f184956592f7e6e988240c714c8f99;p=krb5.git Convert C++ style comments into traditional C comments git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23550 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/ccache/ccbase.c b/src/lib/krb5/ccache/ccbase.c index 7deb0a1e4..2e40b48f3 100644 --- a/src/lib/krb5/ccache/ccbase.c +++ b/src/lib/krb5/ccache/ccbase.c @@ -454,14 +454,14 @@ k5_cc_mutex_lock(krb5_context context, k5_cc_mutex *m) { krb5_error_code ret = 0; - // not locked or already locked by another context + /* not locked or already locked by another context */ if (m->owner != context) { - // acquire lock, blocking until available + /* acquire lock, blocking until available */ ret = k5_mutex_lock(&m->lock); m->owner = context; m->refcount = 1; } - // already locked by this context, just increase refcount + /* already locked by this context, just increase refcount */ else { m->refcount++; } @@ -562,7 +562,7 @@ krb5_cccol_unlock(krb5_context context) return ret; } - // unlock each type in the opposite order + /* unlock each type in the opposite order */ #ifdef USE_KEYRING_CCACHE k5_cc_mutex_assert_locked(context, &krb5int_krcc_mutex); k5_cc_mutex_unlock(context, &krb5int_krcc_mutex); @@ -601,7 +601,7 @@ k5_cccol_force_unlock() return ret; } - // unlock each type in the opposite order + /* unlock each type in the opposite order */ #ifdef USE_KEYRING_CCACHE k5_cc_mutex_force_unlock(&krb5int_krcc_mutex); #endif