Version 1.0
This commit is contained in:
+10
@@ -156,6 +156,9 @@ int main(int argc, char **argv)
|
||||
#ifdef MAIN_CLIENT
|
||||
|
||||
#include <poll.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "client.h"
|
||||
|
||||
@@ -163,6 +166,8 @@ int main(int argc, char **argv)
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
srand((unsigned)time(NULL) ^ (unsigned)getpid());
|
||||
|
||||
int ret;
|
||||
ClientState state;
|
||||
|
||||
@@ -215,6 +220,9 @@ int main(int argc, char **argv)
|
||||
#ifdef MAIN_SERVER
|
||||
|
||||
#include <poll.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "node.h"
|
||||
|
||||
@@ -222,6 +230,8 @@ int main(int argc, char **argv)
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
srand((unsigned)time(NULL) ^ (unsigned)getpid());
|
||||
|
||||
int ret;
|
||||
NodeState state;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user