summaryrefslogtreecommitdiff
path: root/server/main.c
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-10-11 22:28:00 +0200
committertomsmeding <tom.smeding@gmail.com>2017-10-11 22:28:00 +0200
commit54d371e4e897fa58c316fcc3b6dc7bde5af6868c (patch)
treed44b2cde84cf59ddf8f34fe2d59031dd3d46214f /server/main.c
parent34b0e1a8adf19f695a85280ebb69b062d71b48f7 (diff)
Diffstat (limited to 'server/main.c')
-rw-r--r--server/main.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/server/main.c b/server/main.c
index ffa16cd..cb4e2b4 100644
--- a/server/main.c
+++ b/server/main.c
@@ -12,6 +12,7 @@
#include "data_stream.h"
#include "line_reader.h"
#include "zbuffer.h"
+#include "util.h"
#define PORT 57575
@@ -38,12 +39,6 @@
int32_t pti_priority; task priority
};*/
-static i64 make_timestamp(void){
- struct timeval tv;
- gettimeofday(&tv,NULL);
- return tv.tv_sec*(i64)1000000+tv.tv_usec;
-}
-
static void connection_handler(int sock){
struct data_stream *stream=data_stream_init(sock);
struct line_reader *reader=line_reader_init(sock);