]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Convert C++ style comments into traditional C comments
authorKen Raeburn <raeburn@mit.edu>
Thu, 31 Dec 2009 03:37:34 +0000 (03:37 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 31 Dec 2009 03:37:34 +0000 (03:37 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23550 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/ccbase.c

index 7deb0a1e484482ff26ebe5e05a736aa49ece9ebc..2e40b48f32de26c948403d965bc7d7447a2b82bf 100644 (file)
@@ -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