summaryrefslogtreecommitdiff
path: root/code/ecp/fe310
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2018-01-17 18:42:47 +0100
committerUros Majstorovic <majstor@majstor.org>2018-01-17 18:42:47 +0100
commit1425f72c38fe23a9d3fcda583a7da1e7315acfc3 (patch)
tree2731c1f5b9e0c76e0a0775f6eddf81fd90b0817d /code/ecp/fe310
parent97a7e6617f8ad06b7bff495603200b853766ecc8 (diff)
build system improved
Diffstat (limited to 'code/ecp/fe310')
-rw-r--r--code/ecp/fe310/transport.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/code/ecp/fe310/transport.c b/code/ecp/fe310/transport.c
index 99a1b10..5bffda9 100644
--- a/code/ecp/fe310/transport.c
+++ b/code/ecp/fe310/transport.c
@@ -1,11 +1,8 @@
-#include <stddef.h>
-#include <string.h>
+#include <core.h>
#include <eos/eos.h>
#include <eos/net.h>
-#include <core.h>
-
static int t_addr_eq(ECPNetAddr *addr1, ECPNetAddr *addr2) {
if (addr1->port != addr2->port) return 0;
if (memcmp(addr1->host, addr2->host, sizeof(addr1->host)) != 0) return 0;