summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2009-12-31 03:37:34 +0000
committerKen Raeburn <raeburn@mit.edu>2009-12-31 03:37:34 +0000
commit382803ac70f184956592f7e6e988240c714c8f99 (patch)
tree1feed8b93280e8ac4bda3a5afb1f028299454b0f /src
parent0ceaaeed1a3cb1dd46827284ec681d6de1bbb3ae (diff)
Convert C++ style comments into traditional C comments
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23550 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/ccache/ccbase.c10
1 files changed, 5 insertions, 5 deletions
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