diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-10-11 22:28:00 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-10-11 22:28:00 +0200 |
commit | 54d371e4e897fa58c316fcc3b6dc7bde5af6868c (patch) | |
tree | d44b2cde84cf59ddf8f34fe2d59031dd3d46214f /server/main.c | |
parent | 34b0e1a8adf19f695a85280ebb69b062d71b48f7 (diff) |
Diffstat (limited to 'server/main.c')
-rw-r--r-- | server/main.c | 7 |
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); |