Rewrote threaded log code to be more idiomatic.
[invirt/third/libt4.git] / lock_protocol.h
index 5589c07..8cccebe 100644 (file)
@@ -1,5 +1,3 @@
-// lock protocol
-
 #ifndef lock_protocol_h
 #define lock_protocol_h
 
@@ -16,7 +14,7 @@ namespace lock_protocol {
     REMOTE_PROCEDURE(1, acquire, (int &, lockid_t, callback_t, xid_t));
     REMOTE_PROCEDURE(2, release, (int &, lockid_t, callback_t, xid_t));
     REMOTE_PROCEDURE(3, stat, (int &, lockid_t, callback_t));
-};
+}
 
 namespace rlock_protocol {
     using lockid_t = lock_protocol::lockid_t;
@@ -25,5 +23,5 @@ namespace rlock_protocol {
     REMOTE_PROCEDURE_BASE(0x8000);
     REMOTE_PROCEDURE(1, revoke, (int &, lockid_t, xid_t));
     REMOTE_PROCEDURE(2, retry, (int &, lockid_t, xid_t));
-};
+}
 #endif