Removed tabs and unneeded constructor
[invirt/third/libt4.git] / lock_smain.cc
index d62a25b..3bd7376 100644 (file)
@@ -1,10 +1,6 @@
-#include "rpc/rpc.h"
+#include "lock_server.h"
 #include <arpa/inet.h>
-#include <stdlib.h>
-#include "threaded_log.h"
 #include <unistd.h>
-#include "lock_server.h"
-#include "rsm.h"
 
 // Main loop of lock_server
 
@@ -17,7 +13,7 @@ int main(int argc, char *argv[]) {
     srandom((uint32_t)getpid());
 
     if(argc != 3){
-        fprintf(stderr, "Usage: %s [master:]port [me:]port\n", argv[0]);
+        cerr << "Usage: " << argv[0] << " [master:]port [me:]port" << endl;
         exit(1);
     }