projects
/
invirt/third/libt4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed tabs and unneeded constructor
[invirt/third/libt4.git]
/
lock_protocol.h
diff --git
a/lock_protocol.h
b/lock_protocol.h
index
900897a
..
1e45ddc
100644
(file)
--- a/
lock_protocol.h
+++ b/
lock_protocol.h
@@
-3,10
+3,8
@@
#ifndef lock_protocol_h
#define lock_protocol_h
#ifndef lock_protocol_h
#define lock_protocol_h
+#include "types.h"
#include "rpc/rpc.h"
#include "rpc/rpc.h"
-#include <string>
-
-using std::string;
class lock_protocol {
public:
class lock_protocol {
public:
@@
-16,7
+14,7
@@
class lock_protocol {
enum rpc_numbers : proc_t {
acquire = 0x7001,
release,
enum rpc_numbers : proc_t {
acquire = 0x7001,
release,
- stat
+ stat,
};
};
};
};
@@
-25,7
+23,7
@@
class rlock_protocol {
enum status : status_t { OK, RPCERR };
enum rpc_numbers : proc_t {
revoke = 0x8001,
enum status : status_t { OK, RPCERR };
enum rpc_numbers : proc_t {
revoke = 0x8001,
- retry = 0x8002
+ retry,
};
};
#endif
};
};
#endif